diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-03-07 16:34:51 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-03-07 16:34:51 +0000 |
commit | d471e71adabdad4fba8b59c4017a1c5f1f111073 (patch) | |
tree | 078d95dfd438e1b3d6a72a1ede5d422c89b9a0a7 /stringbuf.c | |
parent | 549c0cccd44dc36a6ba8c480fa65bcaad6cb20ec (diff) | |
download | rsyslog-d471e71adabdad4fba8b59c4017a1c5f1f111073.tar.gz rsyslog-d471e71adabdad4fba8b59c4017a1c5f1f111073.tar.xz rsyslog-d471e71adabdad4fba8b59c4017a1c5f1f111073.zip |
fixed potential infinite loop condition when module load failed on startup
Diffstat (limited to 'stringbuf.c')
-rwxr-xr-x | stringbuf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stringbuf.c b/stringbuf.c index d5b77d99..8745c291 100755 --- a/stringbuf.c +++ b/stringbuf.c @@ -709,7 +709,7 @@ int rsCStrSzStrMatchRegex(cstr_t *pCS1, uchar *psz) BEGINfunc - if(objUse(regexp, "regexp") == RS_RET_OK) { + if(objUse(regexp, "lmregexp") == RS_RET_OK) { regexp.regcomp(&preq, (char*) rsCStrGetSzStr(pCS1), 0); ret = regexp.regexec(&preq, (char*) psz, 0, NULL, 0); regexp.regfree(&preq); |