bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Roland McGrath
Subject: Re: [PATCH,HURD] sendto: do not crash when addr is NULL
Date: Tue, 12 Jun 2012 10:16:33 -0700 (PDT)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]