[Oisf-devel] [COMMIT] OISF branch, master-3.1.x, updated. suricata-3.1.2-15-g534fc87

OISF Git noreply at openinfosecfoundation.org
Fri Oct 7 14:50:30 UTC 2016

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-3.1.x has been updated
       via  534fc8748bdb8e10194ff9791c113b57be87adb8 (commit)
       via  5ccd21fcda87b027508d04fe46803c0de9afd232 (commit)
       via  12521c453f7460e24880adf21a7a1bbb72cdd4d8 (commit)
      from  471b61a0e1f7f27977d16cdb6081e783c3a4a50c (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 534fc8748bdb8e10194ff9791c113b57be87adb8
Author: Victor Julien <victor at inliniac.net>
Date:   Fri Oct 7 13:49:40 2016 +0200

    af-packet: fix fanout support on Debian Jessie
    Debian Jessie with kernel 3.16 would not accept the 'id' of 99 used
    in the test. Id 1 does work.

commit 5ccd21fcda87b027508d04fe46803c0de9afd232
Author: Victor Julien <victor at inliniac.net>
Date:   Thu Oct 6 19:23:32 2016 +0200

    http: fix memory leak in error path

commit 12521c453f7460e24880adf21a7a1bbb72cdd4d8
Author: Victor Julien <victor at inliniac.net>
Date:   Thu Oct 6 17:49:21 2016 +0200

    streaming: improve error handling
    When memory allocations happened in HTTP body and general file
    tracking, malloc/realloc errors (most likely in the form of memcap
    reached conditions) could lead to an endless loop in the buffer
    grow logic.
    This patch implements proper error handling for all Append/Insert
    functions for the streaming API, and it explicitly enables compiler
    warnings if the results are ignored.


Summary of changes:
 src/app-layer-htp-body.c    |  13 ++--
 src/source-af-packet.c      |   2 +-
 src/util-file.c             |   4 +-
 src/util-streaming-buffer.c | 168 +++++++++++++++++++++++++-------------------
 src/util-streaming-buffer.h |  14 ++--
 5 files changed, 113 insertions(+), 88 deletions(-)


More information about the Oisf-devel mailing list