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

git: libthread_xu/libc_r: Improve the check for EINVAL in sem_* functions.


From: Sascha Wildner <swildner@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 28 Feb 2012 14:45:31 -0800 (PST)

commit f36c8b06188cc623295c960acecc17686486c9ea
Author: Sascha Wildner <saw@online.de>
Date:   Tue Feb 28 23:44:29 2012 +0100

    libthread_xu/libc_r: Improve the check for EINVAL in sem_* functions.
    
    Before referencing *sem->... in the check, do not just test if sem is
    NULL but also if *sem is NULL.
    
    Reported-by: Max Herrgard <herrgard@gmail.com>

Summary of changes:
 lib/libc_r/uthread/uthread_sem.c  |    4 ++--
 lib/libthread_xu/thread/thr_sem.c |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

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


-- 
DragonFly BSD source repository



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