Re: [PATCH] fix null-pointer behavior in fmt and fmtlist functions

2019-02-05 Thread Laurent Bercot
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. Applied, thanks! -- Laurent

[PATCH] fix null-pointer behavior in fmt and fmtlist functions

2019-02-05 Thread John Regan
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. --- src/libstddjb/fmtscan-internal.h | 23 +++ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git