]> git.ipfire.org Git - thirdparty/glibc.git/commit - ChangeLog
Hurd: sendto: do not crash when ADDR is null
authorPino Toscano <toscano.pino@tiscali.it>
Fri, 20 Jul 2012 21:56:58 +0000 (23:56 +0200)
committerPino Toscano <toscano.pino@tiscali.it>
Fri, 20 Jul 2012 21:56:58 +0000 (23:56 +0200)
commitac4ea442f3c70254def5c2f8aee592cddb5eef51
tree7abc84097b5e9b7462dba181c619dffc6a2dcd3c
parent0f48659e36e72c091f988d9ea5a2dd505960ab0f
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.
ChangeLog
sysdeps/mach/hurd/sendto.c