DragonFly-2.3.1.730.gaef00 master lib/libc/stdlib nmalloc.c

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Jul 8 13:38:37 PDT 2009


commit aef002e3ce1339ba6e0040b6a79d28e543497427
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Wed Jul 8 13:36:26 2009 -0700

    libc - use a valid pointer for malloc(0).
    
    This fixes an issue with qsort()ing 0 elements.
    
    Reported-by: smtms

Summary of changes:
 lib/libc/stdlib/nmalloc.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

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


-- 
DragonFly BSD source repository





More information about the Commits mailing list