commit 19b92a34330f1d18765aa08f4fb31cc97dcb50ed
Author: Sascha Wildner <[email protected]>
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 <[email protected]>

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

Reply via email to