[PATCH,HURD] sendto: do not crash when addr is NULL

Roland McGrath roland@hack.frob.com
Tue Jun 12 17:16:00 GMT 2012


That's almost right, but you should avoid calling __mach_port_deallocate
if APORT is MACH_PORT_NULL.  Also, avoid shadowing the local variable ERR
with one of the same name in the subfunction.

Thanks,
Roland



More information about the Libc-alpha mailing list