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 /resource | |
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 'resource')
0 files changed, 0 insertions, 0 deletions