-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P5
-
Affects Version/s: 7
-
Component/s: client-libs
lcdglyph.c tests to see if malloc returns NULL but unfortunately the
test looks like "if (malloc == NULL)", instead of "if (ptr == NULL)"
Since its only an issue if malloc had actually failed and this is
not particularly likely, this doesn't seem to have posed a problem
in the 4 or 5 years the code has been in production, but clearly
still merits a fix.
test looks like "if (malloc == NULL)", instead of "if (ptr == NULL)"
Since its only an issue if malloc had actually failed and this is
not particularly likely, this doesn't seem to have posed a problem
in the 4 or 5 years the code has been in production, but clearly
still merits a fix.