OSDN Git Service

linuxthreads.old: fix crash in debug code
authorMike Frysinger <vapier@gentoo.org>
Wed, 22 Jul 2009 03:33:57 +0000 (23:33 -0400)
committerMike Frysinger <vapier@gentoo.org>
Wed, 22 Jul 2009 03:33:57 +0000 (23:33 -0400)
commit75c94b00a2cd19ba2a1188578b848bfc2c8e8e2e
treec0395bc7abee9062a46ca0a134c940ad464c105d
parent44bc29e4f3bf4310fabbed3b187bc0aad8827db0
linuxthreads.old: fix crash in debug code

If pthread_join() is called and there is nothing to join, then the debug
code will attempt to dereference a NULL pointer.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
libpthread/linuxthreads.old/join.c