This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]