svn commit: r282252 - head/lib/libcapsicum
Garrett Cooper
yaneurabeya at gmail.com
Wed Apr 29 23:00:12 UTC 2015
On Apr 29, 2015, at 15:19, Mariusz Zaborski <oshogbo at FreeBSD.org> wrote:
> Author: oshogbo
> Date: Wed Apr 29 22:19:40 2015
> New Revision: 282252
> URL: https://svnweb.freebsd.org/changeset/base/282252
>
> Log:
> Remove the use of nvlist_.*[vf] functions from libcapsicum and replace
> them with snprintf(3). Assert the results of snprintf(3).
>
> Approved by: pjd (mentor)
assert(3) can be compiled out with NDEBUG, causing memory corruption on memory allocation failure or snprintf-related failure. Is using assert a good idea?
Thanks!
-NGie
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 496 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/svn-src-head/attachments/20150429/1f394c5c/attachment.sig>
More information about the svn-src-head
mailing list