Snort mailing list archives

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


From: Meridoff via Snort-devel <snort-devel () lists snort org>
Date: Thu, 28 Jan 2021 17:23:37 +0300

Hello , in OpenAppId archive from 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: