mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-18 18:00:41 +01:00
Merge branch 'c6226-patch-1' of https://github.com/c6226/rsyslog
This commit is contained in:
commit
21d981a05f
@ -688,7 +688,7 @@ static void doOptions(unsigned char **pp, struct templateEntry *pTpe)
|
||||
while(*p && *p != '%' && *p != ':') {
|
||||
/* outer loop - until end of options */
|
||||
i = 0;
|
||||
while((i < sizeof(Buf) / sizeof(char)) &&
|
||||
while((i < ((sizeof(Buf) / sizeof(uchar))-sizeof(uchar))) &&
|
||||
*p && *p != '%' && *p != ':' && *p != ',') {
|
||||
/* inner loop - until end of ONE option */
|
||||
Buf[i++] = tolower((int)*p);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user