git: DragonFly_RELEASE_4_4 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:57 PST 2015


commit 26605744c730b6a25cf88c9ae29dcffcd8f76a75
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/26605744c730b6a25cf88c9ae29dcffcd8f76a75


-- 
DragonFly BSD source repository



More information about the Commits mailing list