[Oisf-devel] [COMMIT] OISF branch, master, updated. suricata-2.1beta1-97-g3871069

OISF Git noreply at openinfosecfoundation.org
Thu Oct 9 14:35:26 UTC 2014

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  38710697dbe3ebb853381bda85261089fea43616 (commit)
      from  9a5bf82ba53a3ba424f75719270f5f2f6fc782d2 (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 38710697dbe3ebb853381bda85261089fea43616
Author: Ken Steele <ken at tilera.com>
Date:   Tue Oct 7 10:17:21 2014 -0400

    Speed up SigMatchGetLastSMFromLists()
    SigMatchGetLastSMFromLists() is finding the sm with the largest
    index among all of the values returned from SigMatchGetLastSM() on
    the set of (list and type) tuples passed as arguments.
    The function was creating an array of the types, then creating an array
    of the results of SigMatchGetLastSM(), sorting that list completely, then
    only returning the first values from the list.
    The new code, gets one set of arguments from the variable arguments, calls
    SigMatchGetLastSM() and if the returned sm has a larger index, keeps that
    as the last sm.


Summary of changes:
 src/detect-parse.c |   58 +++++++++++++++-------------------------------------
 1 file changed, 17 insertions(+), 41 deletions(-)


More information about the Oisf-devel mailing list