about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorPino Toscano <toscano.pino@tiscali.it>2012-07-20 23:56:58 +0200
committerPino Toscano <toscano.pino@tiscali.it>2012-07-20 23:56:58 +0200
commitac4ea442f3c70254def5c2f8aee592cddb5eef51 (patch)
tree7abc84097b5e9b7462dba181c619dffc6a2dcd3c /ChangeLog
parent0f48659e36e72c091f988d9ea5a2dd505960ab0f (diff)
downloadglibc-ac4ea442f3c70254def5c2f8aee592cddb5eef51.tar.gz
glibc-ac4ea442f3c70254def5c2f8aee592cddb5eef51.tar.xz
glibc-ac4ea442f3c70254def5c2f8aee592cddb5eef51.zip
Hurd: sendto: do not crash when ADDR is null
Create a new create_address_port subroutine to isolate the address port creation
(for both local and remove sockets), and use it inside HURD_DPORT_USE.
Also intialize APORT to MACH_PORT_NULL and make sure to always deallocate it,
when not null.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index cb1dfaf108..03baa697ef 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
+
+	* sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
+	(__sendto): Use create_address_port.  Initialize APORT and deallocate
+	it if not null.
+
 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
 
 	* elf/Makefile (check-data): Remove.