about summary refs log tree commit diff
path: root/nptl/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-10-03 19:49:23 +0000
committerUlrich Drepper <drepper@redhat.com>2003-10-03 19:49:23 +0000
commite9a7bbab6b8ae9f9107535dc98eb75dc1c28ffd5 (patch)
tree7fd2be05330b9cc172ef699d0b862932abd2c74e /nptl/sysdeps
parent4921e1e20e2c061f7def7e95fb182772ec3fae25 (diff)
downloadglibc-e9a7bbab6b8ae9f9107535dc98eb75dc1c28ffd5.tar.gz
glibc-e9a7bbab6b8ae9f9107535dc98eb75dc1c28ffd5.tar.xz
glibc-e9a7bbab6b8ae9f9107535dc98eb75dc1c28ffd5.zip
(__pthread_once): Check __sigsetjmp return value.
Diffstat (limited to 'nptl/sysdeps')
-rw-r--r--nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S b/nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S
index 107a9a919e..312933c5e4 100644
--- a/nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S
+++ b/nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S
@@ -109,6 +109,7 @@ __pthread_once:
 	movl	$0, 4(%esp)
 	movl	%eax, (%esp)
 	call	__sigsetjmp@PLT
+	testl	%eax, %eax
 	jne	7f
 
 	leal	8(%esp), %eax