Fixed crashing mbtask on receiving empty coded loglines
This commit is contained in:
@@ -667,8 +667,8 @@ char *cldecode(char *s)
|
||||
char *p, *q;
|
||||
int i;
|
||||
|
||||
if (s == NULL) {
|
||||
return NULL;
|
||||
if ((s == NULL) || (! strlen(s))) {
|
||||
return (char *)"";
|
||||
}
|
||||
|
||||
for (p = s, q = s; *p; p++) {
|
||||
|
Reference in New Issue
Block a user