Snort mailing list archives

Re: OpenAppId archive from snort.org (version 339) has bug in DetectorCommon: getStringValue


From: "Shravan Rangarajuvenkata \(shrarang\) via Snort-devel" <snort-devel () lists snort org>
Date: Thu, 28 Jan 2021 20:55:20 +0000

Thanks a lot for bringing this to our attention! We will fix this issue in the next openAppId release.

Thanks,
Shravan

From: Snort-devel <snort-devel-bounces () lists snort org>
Date: Thursday, January 28, 2021 at 9:24 AM
To: snort-devel () lists snort org <snort-devel () lists snort org>
Subject: [Snort-devel] OpenAppId archive from snort.org (version 339) has bug in DetectorCommon: getStringValue
Hello , in OpenAppId archive from snort.org<http://snort.org> (version 339) has bug in DetectorCommon: getStringValue 
(...)

Patch that fixes:

 local function getStringValue (data, length)
-    local stringValue
-    local hexValue = '0x'
+    local stringValue = '0x'
     local index = 0
     while (index <  length) do
         stringValue = string.format('%s%.2x', stringValue, string.byte(data,index+1))
_______________________________________________
Snort-devel mailing list
Snort-devel () lists snort org
https://lists.snort.org/mailman/listinfo/snort-devel

Please visit http://blog.snort.org for the latest news about Snort!

Current thread: