mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-21 09:00:41 +01:00
bugfix: omlibdbi did not use password from rsyslog.con
closes: http://bugzilla.adiscon.com/show_bug.cgi?id=203
This commit is contained in:
parent
6bad782f15
commit
c1760db6bb
@ -23,6 +23,8 @@ Version 4.6.6 [v4-stable] (rgerhards), 2010-11-??
|
||||
- bugfix: abort if imfile reads file line of more than 64KiB
|
||||
Thanks to Peter Eisentraut for reporting and analysing this problem.
|
||||
bug tracker: http://bugzilla.adiscon.com/show_bug.cgi?id=221
|
||||
- bugfix: omlibdbi did not use password from rsyslog.con
|
||||
closes: http://bugzilla.adiscon.com/show_bug.cgi?id=203
|
||||
- some improvements thanks to clang's static code analyzer
|
||||
o overall cleanup (mostly unnecessary writes and otherwise unused stuff)
|
||||
o bugfix: fixed a very remote problem in msg.c which could occur when
|
||||
|
||||
@ -287,7 +287,7 @@ CODE_STD_STRING_REQUESTparseSelectorAct(1)
|
||||
if(dbName != NULL)
|
||||
if((pData->dbName = (uchar*) strdup((char*)dbName)) == NULL) ABORT_FINALIZE(RS_RET_OUT_OF_MEMORY);
|
||||
if(pwd != NULL)
|
||||
if((pData->pwd = (uchar*) strdup((char*)"")) == NULL) ABORT_FINALIZE(RS_RET_OUT_OF_MEMORY);
|
||||
if((pData->pwd = (uchar*) strdup((char*)pwd)) == NULL) ABORT_FINALIZE(RS_RET_OUT_OF_MEMORY);
|
||||
|
||||
CHKiRet(cflineParseTemplateName(&p, *ppOMSR, 0, OMSR_RQD_TPL_OPT_SQL, (uchar*) " StdDBFmt"));
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user