mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-21 07:50:41 +01:00
improved some code based on clang static analyzer results
This commit is contained in:
parent
925504d565
commit
ec6230cffe
@ -1,4 +1,7 @@
|
||||
---------------------------------------------------------------------------
|
||||
Version 3.22.4 [v3-stable] (rgerhards), 2010-??-??
|
||||
- improved some code based on clang static analyzer results
|
||||
---------------------------------------------------------------------------
|
||||
Version 3.22.3 [v3-stable] (rgerhards), 2010-11-24
|
||||
- bugfix(important): problem in TLS handling could cause rsyslog to loop
|
||||
in a tight loop, effectively disabling functionality and bearing the
|
||||
|
||||
@ -1054,7 +1054,7 @@ static rsRetVal cflineDoAction(uchar **p, action_t **ppAction)
|
||||
DEFiRet;
|
||||
modInfo_t *pMod;
|
||||
omodStringRequest_t *pOMSR;
|
||||
action_t *pAction;
|
||||
action_t *pAction = NULL;
|
||||
void *pModData;
|
||||
|
||||
ASSERT(p != NULL);
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
/* cfgtok.c - helper class to tokenize an input stream - which surprisingly
|
||||
/* ctok.c - helper class to tokenize an input stream - which surprisingly
|
||||
* currently does not work with streams but with string. But that will
|
||||
* probably change over time ;) This class was originally written to support
|
||||
* the expression module but may evolve when (if) the expression module is
|
||||
@ -267,7 +267,7 @@ ctokGetVar(ctok_t *pThis, ctok_token_t *pToken)
|
||||
{
|
||||
DEFiRet;
|
||||
uchar c;
|
||||
cstr_t *pstrVal;
|
||||
cstr_t *pstrVal = NULL;
|
||||
|
||||
ISOBJ_TYPE_assert(pThis, ctok);
|
||||
ASSERT(pToken != NULL);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user