]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
libhtp fix for response body processing. Increment data counter for response body...
authorAnoop Saldanha <poonaatsoc@gmail.com>
Wed, 16 May 2012 13:12:26 +0000 (18:42 +0530)
committerVictor Julien <victor@inliniac.net>
Sun, 20 May 2012 12:00:08 +0000 (14:00 +0200)
libhtp/htp/htp_response.c

index 8a69e9c2defd46df8a5125e6388937b4cc3888b6..118b259438159635ab886dc882929f281be69ee5 100644 (file)
@@ -238,6 +238,7 @@ int htp_connp_RES_BODY_IDENTITY(htp_connp_t *connp) {
                     return HTP_OK;
                 }
             } else {
+                d.len++;
                 // We don't know the length of the response body, which means
                 // that the body will consume all data until the connection
                 // is closed.