[Oisf-devel] [COMMIT] OISF branch, master, updated. suricata-2.0beta1-303-g79fcf13

noreply at openinfosecfoundation.org noreply at openinfosecfoundation.org
Mon Oct 28 15:18:01 UTC 2013


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  79fcf1378a84964663a4873f23349f8198fe2b8e (commit)
      from  c8b3f4418affd9135ef1103694b0d907531e0d13 (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 79fcf1378a84964663a4873f23349f8198fe2b8e
Author: Eric Leblond <eric at regit.org>
Date:   Mon Oct 28 11:49:23 2013 +0100

    Use unlikely in malloc failure test.
    
    This patch is a result of applying the following coccinelle
    transformation to suricata sources:
    
      @istested@
      identifier x;
      statement S1;
      identifier func =~ "(SCMalloc|SCStrdup|SCCalloc|SCMallocAligned|SCRealloc)";
      @@
    
      x = func(...)
      ... when != x
      - if (x == NULL) S1
      + if (unlikely(x == NULL)) S1

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

Summary of changes:
 src/app-layer-dns-common.c     |    6 +++---
 src/app-layer-htp.c            |    8 ++++----
 src/app-layer-parser.c         |    6 +++---
 src/detect-content.c           |    8 ++++----
 src/detect-engine-hcbd.c       |    2 +-
 src/detect-engine-hhd.c        |    2 +-
 src/detect-engine-mpm.c        |    2 +-
 src/detect-luajit-extensions.c |    2 +-
 src/flow-storage.c             |    6 +++---
 src/host-storage.c             |    6 +++---
 src/runmode-tile.c             |    6 +++---
 src/source-mpipe.c             |    6 +++---
 src/source-napatech.c          |    5 ++---
 src/stream-tcp.c               |    2 +-
 src/util-cuda-buffer.c         |    4 ++--
 src/util-cuda-handlers.c       |    8 ++++----
 src/util-cuda.c                |    4 ++--
 src/util-magic.c               |    4 ++--
 src/util-mpm-ac-tile.c         |    2 +-
 src/util-mpm.c                 |    4 ++--
 src/util-pool-thread.c         |    2 +-
 src/util-runmodes.c            |    2 +-
 src/util-storage.c             |    8 ++++----
 src/util-threshold-config.c    |    2 +-
 24 files changed, 53 insertions(+), 54 deletions(-)


hooks/post-receive
-- 
OISF


More information about the Oisf-devel mailing list