git: libc/stdtime: Fix two cases where a NULL pointer could have been free()'d.

Sascha Wildner swildner at crater.dragonflybsd.org
Thu Dec 10 12:42:53 PST 2015


commit ea94549901edec6a3d51c5ea4475c3b0a2164444
Author: Sascha Wildner <saw at online.de>
Date:   Thu Dec 10 21:40:41 2015 +0100

    libc/stdtime: Fix two cases where a NULL pointer could have been free()'d.
    
    Also, make the rest of error returns more consistent.

Summary of changes:
 lib/libc/stdtime/localtime.c | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ea94549901edec6a3d51c5ea4475c3b0a2164444


-- 
DragonFly BSD source repository



More information about the Commits mailing list