[Oisf-devel] [COMMIT] OISF branch, master, updated. suricata-3.2.1-194-g3726fd6

OISF Git noreply at openinfosecfoundation.org
Wed Mar 29 18:42:08 UTC 2017


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "OISF".

The branch, master has been updated
       via  3726fd66bee905fcca279d18ffabe2a06659eac7 (commit)
      from  3ca1a29bbd6cfe05f20a9d9717be7b98214a3591 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 3726fd66bee905fcca279d18ffabe2a06659eac7
Author: Victor Julien <victor at inliniac.net>
Date:   Wed Mar 29 11:15:51 2017 +0200

    http: fix body tracking corner case
    
    In some cases, observed with inspect limits 0, the body tracking could
    get confused. When all chunks were already freed, a new chunk would
    be considered to be the start of the body. This would overwrite the
    bodies 'content_len_so_far' tracker, instead of adding to it. This in
    turn could lead to a assertion abort in the inspection code.
    
    This patch redoes the append code to always add the current lenght. It
    cleans up the code to remove redundant logic.
    
    Issue: https://redmine.openinfosecfoundation.org/issues/2078
    Reported-By: Jørgen Bøhnsdalen

-----------------------------------------------------------------------

Summary of changes:
 src/app-layer-htp-body.c | 36 ++++++++++++------------------------
 1 file changed, 12 insertions(+), 24 deletions(-)


hooks/post-receive
-- 
OISF


More information about the Oisf-devel mailing list