about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.com>2016-03-20 17:35:24 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.com>2016-03-20 18:17:52 -0300
commit2a69f853c03034c2e383e0f9c35b5402ce8b5473 (patch)
tree12da61d986fad63834f51d689fb023d2767a07a7 /ChangeLog
parent0e8e593d7339a477ad7fdc4664d5948f824f74d6 (diff)
downloadglibc-2a69f853c03034c2e383e0f9c35b5402ce8b5473.tar.gz
glibc-2a69f853c03034c2e383e0f9c35b5402ce8b5473.tar.xz
glibc-2a69f853c03034c2e383e0f9c35b5402ce8b5473.zip
posix: Fix posix_spawn invalid memory access
Current Linux posix_spawn spawn do not test if the pid argument is
valid before trying to update it for success case.  This patch fixes
it.

Tested on x86_64 and i686.

	* sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
	access where posix_spawn success and pid argument is null.
	* posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
	success case.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog7
1 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index ceee215e3e..6bd5a11769 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
+
+	* sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
+	access where posix_spawn success and pid argument is null.
+	* posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
+	success case.
+
 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
 
 	* sysdeps/mach/hurd/i386/c++-types.data: New file.