diff options
author | John Regan <john@jrjrtech.com> | 2019-02-05 18:12:24 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2019-02-05 19:21:51 +0000 |
commit | aac54c9d0f36ecadd205da3985996a9e56e1fa14 (patch) | |
tree | 2d193e32d27ab94f31c21e31e21fb9e6eff21066 /src/libstddjb/stralloc_reverse.c | |
parent | f5322e41ae8fa0124bb5adcb3ef12db6ebeabeab (diff) | |
download | skalibs-aac54c9d0f36ecadd205da3985996a9e56e1fa14.tar.xz |
fix null-pointer behavior in fmt and fmtlist functions
This fixes a segfault when a user calls uint320_fmt(NULL,...),
and makes the fmtlist functions return the correct number of
characters when called with NULL.
Diffstat (limited to 'src/libstddjb/stralloc_reverse.c')
0 files changed, 0 insertions, 0 deletions