summaryrefslogtreecommitdiff
path: root/src/libstddjb/timestamp_fmt.c
diff options
context:
space:
mode:
authorJohn Regan <john@jrjrtech.com>2019-02-05 18:12:24 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2019-02-05 19:21:51 +0000
commitaac54c9d0f36ecadd205da3985996a9e56e1fa14 (patch)
tree2d193e32d27ab94f31c21e31e21fb9e6eff21066 /src/libstddjb/timestamp_fmt.c
parentf5322e41ae8fa0124bb5adcb3ef12db6ebeabeab (diff)
downloadskalibs-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/timestamp_fmt.c')
0 files changed, 0 insertions, 0 deletions