Bug #5799
incorrect use of NULL in symbols_test.c
Start date:
2015-04-08
Due date:
% Done:
70%
Estimated time:
Difficulty:
Bite-size
Tags:
needs-triage
Gerrit CR:
Description
Gary Mills pointed out this around line 950 in my recently integrated symbols_test program:
static void addprogstr(char *s) { while (*s != NULL) { addprogch(*s); s++; } }
The check should be against '\\0' instead of NULL.
Files