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

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


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

commit 19b92a34330f1d18765aa08f4fb31cc97dcb50ed
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/19b92a34330f1d18765aa08f4fb31cc97dcb50ed


-- 
DragonFly BSD source repository



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