kern/140690: [libc] [patch] swab(3) with negative len should
pprocacci at datapipe.com
Sat Nov 21 09:30:06 UTC 2009
The following reply was made to PR kern/140690; it has been noted by GNATS.
From: Paul Procacci <pprocacci at datapipe.com>
To: <bug-followup at FreeBSD.org>, <jeremyhu at apple.com>
Subject: Re: kern/140690: [libc] [patch] swab(3) with negative len should
Date: Sat, 21 Nov 2009 03:18:48 -0600
I'd like to add to this.
As for the length argument. Is there really ever a time it would have
to be signed?
If not, then I would suggest declaring the type as size_t and not
ssize_t much like the read/write/etc syscalls.
This message may contain confidential or privileged information. If you ar=
e not the intended recipient, please advise us immediately and delete this =
message. See http://www.datapipe.com/emaildisclaimer.aspx for further info=
rmation on confidentiality and the risks of non-secure electronic communica=
tion. If you cannot access these links, please notify us by reply message a=
nd we will send the contents to you.
More information about the freebsd-bugs