svn commit: r298665 - head/sys/dev/aacraid
Warner Losh
imp at bsdimp.com
Tue May 3 20:29:15 UTC 2016
> On May 3, 2016, at 1:44 PM, Conrad Meyer <cem at FreeBSD.org> wrote:
>
> On Tue, May 3, 2016 at 12:00 PM, Oliver Pinter
> <oliver.pinter at hardenedbsd.org> wrote:
>> strlcpy instead or adjust the p->vendors size?
>
> Neither. The buffer is intentionally not nul-terminated. The
> coverity reports are false positives.
Then wouldn’t memcmp be better?
Warner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/svn-src-all/attachments/20160503/e90a2dab/attachment.sig>
More information about the svn-src-all
mailing list