Commit Graph

1625 Commits (9100dfb9bd968f880d10f52d1620fb09a954341b)
 

Author SHA1 Message Date
Victor Julien 9100dfb9bd Update version and changelog to 1.0.4 15 years ago
Victor Julien 81493fefcc Remove void cast to SCSetThreadName so we ignore the retval, the macro may be empty on some archs causing compilation issues. 15 years ago
Victor Julien b0604ce2bd libhtp/m4 dir won't be created on CentOS 5.3 by autogen.sh, so work around that by having it in git 15 years ago
Victor Julien de6b16a205 Fixes for issues found by clang. 15 years ago
Victor Julien 11da40f320 Fix couple of cases where incorrect handling of keyword parsing errors would lead to access of uninitialized memory. Found by clang. 15 years ago
Victor Julien af0e29f088 Remove unused code from unified2. 15 years ago
Eric Leblond 1b03633923 Unified2: Use local variable for header copy
Due to the chaining of function call, the per-thread buffer was overwritten.
This was causing invalid data to be output.

This patch restores a local variable usage for the writing of the header
which are rather small and thus should not be a performance and security
issue.
15 years ago
Gerardo Iglesias Galvan cfe4f9edce Simplify packet decoding macro's 15 years ago
Gerardo Iglesias Galvan 9f2f2b10c1 Make sure we don't process TAG records from the flow multiple times and outside the flow lock 15 years ago
Gerardo Iglesias Galvan 875b6039d1 Remove dead code from flowbits parsing 15 years ago
Gerardo Iglesias Galvan 95652969ee Fix TAG removal in certain conditions 15 years ago
Gerardo Iglesias Galvan 6a81190bae Remove unused and broken htp code 15 years ago
Anoop Saldanha d1b553940d coverity - counters.c fixes leaks + mutex unlocking issues + some other minor issues 15 years ago
Anoop Saldanha 5b24b830a5 coverity - util-debug-filters.c and util-debug.c
Fix issues related to freeing memory, unlocking locked mutexes on error
and some other minor fixes.
15 years ago
Anoop Saldanha 7a66f1095d coverity - app-layer-smb2.c and app-layer-dcerpc-udp.c
Fix this issue -
uint8_t p1;
uint64_t p2 = p1 << 24;

The p1 << 24, would give you an int, which if negative would result in sign
extension before being stored in p2.
15 years ago
Anoop Saldanha d3d4eacfb4 coverity - detect-engine-sigorder.c - remove some dummy null checks 15 years ago
Anoop Saldanha f54330bc8b coverity - detect-engine-sigorder.c fix 15 years ago
Anoop Saldanha e9d91cb526 coverity - app-layer-dcerpc-udp.c fix 15 years ago
Anoop Saldanha a962562eb5 coverity - logging system buffer overrun fix 15 years ago
Victor Julien 7b41c50922 Fix potential issue in TmThreadsSlot1NoIn 15 years ago
Victor Julien 61a952f0fc Fix very minor mem leak when setting bpf filter. 15 years ago
Victor Julien f01e13df43 Fix prelude idmef_target_new_service call check. 15 years ago
Victor Julien 0a927c3eeb Remove dead code from the BoyerMoore implementation. 15 years ago
Victor Julien 7e469bc926 Properly free data in tag match function. 15 years ago
Victor Julien bbaade84ac Fix potential memory leak in ASN1 parsing code in low memory conditions. 15 years ago
Victor Julien 057d7f768b Make sure we always check the result of TmThreadCreatePacketHandler. 15 years ago
Victor Julien b43e7eef7b Check return code of DetectEngineCtxInit at startup. 15 years ago
Victor Julien 95c1a21ae8 Fix potential small issue with ftell and fseek. 15 years ago
Victor Julien 3e9e81a1ef Make all access to memory tracking counters in stream engine lock protected. 15 years ago
Victor Julien 4d2f602207 Fix checking if a signature is de-only. 15 years ago
Victor Julien 91c1845b19 Remove dead code from reference handling. 15 years ago
Victor Julien aa97ad6ceb Properly check retval for config and conversion function calls. 15 years ago
Victor Julien e93505d8e3 Check inet_pton retval and properly cleanup on error in unittest helper. 15 years ago
Victor Julien 1197787135 Make sure return value of fgetc isn't truncated. 15 years ago
Victor Julien 487ed2cde6 Fix potential crash in classtype parsing code. 15 years ago
Victor Julien a11b3a1aa2 Fix potential parsing issue in threshold code. 15 years ago
Victor Julien 5465672208 Fix potential crash in signature parsing code. 15 years ago
Victor Julien d1226ee5b0 Fix potential crash in initialization cleanup code. 15 years ago
Victor Julien 7d026e11ff Fix potential crash in ip-only address parsing code. 15 years ago
Victor Julien 783c781301 Fix potential crash in address parsing code. 15 years ago
Victor Julien a2480bc07b Fix potential parsing issue in detection filter code. 15 years ago
Victor Julien 94d480536b Make sure we do all after the null check in HTPStateFree. 15 years ago
Victor Julien 7279a4383e Don't loose memory if PoolInit fails. 15 years ago
Victor Julien 077ce42002 Prevent a memory leak on low memory conditions in http client body handling. 15 years ago
Victor Julien d633e77835 Fix potential alert-unified-log recourse leak during initialization. 15 years ago
Victor Julien d8447fae7d Fix potential prelude recourse leak during initialization. 15 years ago
Victor Julien 1527bb0d3a Fix declaration hiding flags parameter in pcre. 15 years ago
Victor Julien 887507121a Fix declaration hiding len parameter in IPv6 decoder. 15 years ago
Victor Julien fe4466001f No need to check array pointer. 15 years ago
Victor Julien 8bc060785c Don't reference a pointer if malloc fails in the tag subsys. 15 years ago