[master] 0fa4baead Using memcpy() in bstrcpy() confused FlexeLint, use strcpy() instead.
Poul-Henning Kamp
phk at phk.freebsd.dk
Mon Oct 21 09:26:46 UTC 2019
--------
In message <CABoVN9DeAZmA7XKbBA-KaxDKCBUP3yFiQ9MPPAEp0cmg5V3=Zg at mail.gmail.com>
, Dridi Boukelmoune writes:
>When we get to the point of banning strcpy we can maybe disable the
>offending lint before the offending line and restore it afterwards?
Yes, if all else fails.
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
More information about the varnish-commit
mailing list