diff options
author | Pino Toscano <toscano.pino@tiscali.it> | 2012-07-20 23:56:58 +0200 |
---|---|---|
committer | Pino Toscano <toscano.pino@tiscali.it> | 2012-07-20 23:56:58 +0200 |
commit | ac4ea442f3c70254def5c2f8aee592cddb5eef51 (patch) | |
tree | 7abc84097b5e9b7462dba181c619dffc6a2dcd3c /ChangeLog | |
parent | 0f48659e36e72c091f988d9ea5a2dd505960ab0f (diff) | |
download | glibc-ac4ea442f3c70254def5c2f8aee592cddb5eef51.tar glibc-ac4ea442f3c70254def5c2f8aee592cddb5eef51.tar.gz glibc-ac4ea442f3c70254def5c2f8aee592cddb5eef51.tar.bz2 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-- | ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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. |