DragonFly commits List (threaded) for 2009-07
DragonFly BSD
DragonFly commits List (threaded) for 2009-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 8 Jul 2009 13:37:17 -0700 (PDT)

commit aef002e3ce1339ba6e0040b6a79d28e543497427
Author: Matthew Dillon <dillon@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]