"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/preprocessors/HttpInspect/client/hi_client_norm.c" between
snort-2.9.16.1.tar.gz and snort-2.9.17.tar.gz

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

hi_client_norm.c  (snort-2.9.16.1):hi_client_norm.c  (snort-2.9.17)
skipping to change at line 143 skipping to change at line 143
DEBUG_WRAP(DebugMessage(DEBUG_HTTPINSPECT, "HttpInspect: trimming co okie: %d to %d\n", DEBUG_WRAP(DebugMessage(DEBUG_HTTPINSPECT, "HttpInspect: trimming co okie: %d to %d\n",
cookie->cookie_end - cookie->cookie, this_cookie_len);); cookie->cookie_end - cookie->cookie, this_cookie_len););
} }
/* update for the next one */ /* update for the next one */
this_header_start = cookie->cookie_end; this_header_start = cookie->cookie_end;
cookie = cookie->next; cookie = cookie->next;
if (last_cookie && (last_cookie != first_cookie)) if (last_cookie && (last_cookie != first_cookie))
{ {
free(last_cookie); free(last_cookie);
hi_stats.mem_used -= sizeof(COOKIE_PTR);
} }
last_cookie = cookie; last_cookie = cookie;
if (!cookie) if (!cookie)
{ {
this_header_len = raw_header + i_raw_header_len - this_header_start; this_header_len = raw_header + i_raw_header_len - this_header_start;
} }
else else
{ {
this_header_len = cookie->cookie - this_header_start; this_header_len = cookie->cookie - this_header_start;
} }
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 lines changed or added

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