"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/utils/util_jsnorm.cc" between
snort3-3.1.28.0.tar.gz and snort3-3.1.29.0.tar.gz

About: Snort 3 is a network intrusion prevention and detection system (IDS/IPS) combining the benefits of signature, protocol and anomaly-based inspection.

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

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)