<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test/contrib/ipfilter/lib/parsefields.c, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test/atom?h=main</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/'/>
<updated>2017-04-16T04:36:22Z</updated>
<entry>
<title>Use warnx() to issue error message.</title>
<updated>2017-04-16T04:36:22Z</updated>
<author>
<name>Cy Schubert</name>
<email>cy@FreeBSD.org</email>
</author>
<published>2017-04-16T04:36:22Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=c6fd01fbbbf09a3b57e4ba79c4db2c1bf00165b0'/>
<id>urn:sha1:c6fd01fbbbf09a3b57e4ba79c4db2c1bf00165b0</id>
<content type='text'>
Reported by:	cem
MFC after:	1 week
X-MFC with:	r316993, r316994
</content>
</entry>
<entry>
<title>Fix CID 1372601, possible NULL pointer dereference should</title>
<updated>2017-04-16T01:13:47Z</updated>
<author>
<name>Cy Schubert</name>
<email>cy@FreeBSD.org</email>
</author>
<published>2017-04-16T01:13:47Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=a07d9e9af4c3c1b77118463c9dddcea1183faa11'/>
<id>urn:sha1:a07d9e9af4c3c1b77118463c9dddcea1183faa11</id>
<content type='text'>
reallocarray() fail.

Reported by:	Coverity CID 1372601
MFC after:	1 week
</content>
</entry>
<entry>
<title>calloc() and realloc() modernization.</title>
<updated>2017-03-16T04:40:07Z</updated>
<author>
<name>Cy Schubert</name>
<email>cy@FreeBSD.org</email>
</author>
<published>2017-03-16T04:40:07Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=3820c3aa3f7094bf2a52e3df57a182fcf2790f7d'/>
<id>urn:sha1:3820c3aa3f7094bf2a52e3df57a182fcf2790f7d</id>
<content type='text'>
This commit replaces calloc calls, which called calloc() as if it were
malloc() by allocating a multiple of objects as a sizeof multiplied by
the number of objects. The patch rectifies this by calling calloc() as
it was meant to be called.

This commit also replaces realloc() with reallocarray() in a similar
fashion as above. Instead of calculating the memory to reallocated
(changed) by multiplying sizeof by the number of objects, the sizeof
and number are passed as separate arguments to reallocarray(), letting
reallocarray() do the multiplication instead. Like the calloc()
adjustment above, this is approach is cleaner and more elegant than
than the previous code.

This has been tested on my production firewall and a laptop (also
running ipfilter).

Submitted by:	pfg
MFC after:	6 weeks
</content>
</entry>
<entry>
<title>Update ipfilter 4.1.28 --&gt; 5.1.2.</title>
<updated>2013-09-06T23:11:19Z</updated>
<author>
<name>Cy Schubert</name>
<email>cy@FreeBSD.org</email>
</author>
<published>2013-09-06T23:11:19Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=bfc88dcbf7097a9815b9ff57a6f9e56e5cbc45dd'/>
<id>urn:sha1:bfc88dcbf7097a9815b9ff57a6f9e56e5cbc45dd</id>
<content type='text'>
Approved by:		glebius (mentor)
BSD Licensed by:	Darren Reed &lt;darrenr@reed.wattle.id.au&gt; (author)
</content>
</entry>
</feed>
