util_jsnorm.cc (snort3-3.1.28.0) | : | util_jsnorm.cc (snort3-3.1.29.0) | ||
---|---|---|---|---|
skipping to change at line 835 | skipping to change at line 835 | |||
(*ptr)++; | (*ptr)++; | |||
} | } | |||
uint16_t alert = s.alert_flags; | uint16_t alert = s.alert_flags; | |||
//alert mixed encodings | //alert mixed encodings | |||
if (alert != ( alert & -alert)) | if (alert != ( alert & -alert)) | |||
{ | { | |||
js->alerts |= ALERT_MIXED_ENCODINGS; | js->alerts |= ALERT_MIXED_ENCODINGS; | |||
} | } | |||
UnescapeDecode(s.output.data, s.output.len, (const char**)&(s.output.data), &s.output.data, | UnescapeDecode(s.output.data, s.output.len, const_cast<const char**>(&s.outp ut.data), &s.output.data, | |||
s.output.size, &(s.output.len), js, iis_unicode_map); | s.output.size, &(s.output.len), js, iis_unicode_map); | |||
*bytes_copied = s.output.len; | *bytes_copied = s.output.len; | |||
} | } | |||
static void WriteDecodedUnescape(UnescapeState* s, int c, JSState* js) | static void WriteDecodedUnescape(UnescapeState* s, int c, JSState* js) | |||
{ | { | |||
const char* dstart, * dend; | const char* dstart, * dend; | |||
char* dptr; | char* dptr; | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added |