<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/usr.bin/random, branch releng/12.2</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F12.2</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F12.2'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2017-10-31T00:07:04Z</updated>
<entry>
<title>DIRDEPS_BUILD: Update dependencies.</title>
<updated>2017-10-31T00:07:04Z</updated>
<author>
<name>Bryan Drewery</name>
<email>bdrewery@FreeBSD.org</email>
</author>
<published>2017-10-31T00:07:04Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ea825d02749f382c3f7e17f28247f20a48733eab'/>
<id>urn:sha1:ea825d02749f382c3f7e17f28247f20a48733eab</id>
<content type='text'>
Sponsored by:	Dell EMC Isilon
</content>
</entry>
<entry>
<title>Fix a (false positive?) Argument cannot be negative coverity defect.</title>
<updated>2016-06-08T02:14:05Z</updated>
<author>
<name>Don Lewis</name>
<email>truckman@FreeBSD.org</email>
</author>
<published>2016-06-08T02:14:05Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=290dadbd560601bc99dd1b6e721d3c2a3c0d329a'/>
<id>urn:sha1:290dadbd560601bc99dd1b6e721d3c2a3c0d329a</id>
<content type='text'>
Rather than guarding close(fd) with an fd &gt;= 0 test and setting fd
to -1 when it is closed to avoid a potential double-close, just
move the close() call after the conditional "goto make_token".  This
moves the close() call totally outside the loop to avoid the
possibility of calling it twice.  This should also prevent a Coverity
warning about checking fd for validity after it was previously passed
to read().

Reported by:	Coverity
CID:		1355335
MFC after:	1 week
X-MFC with:	r299484
</content>
</entry>
<entry>
<title>random(6): Fix double-close</title>
<updated>2016-05-11T22:04:28Z</updated>
<author>
<name>Conrad Meyer</name>
<email>cem@FreeBSD.org</email>
</author>
<published>2016-05-11T22:04:28Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=7bfdbca59613182ce7f7a5e1082fc1e76f612783'/>
<id>urn:sha1:7bfdbca59613182ce7f7a5e1082fc1e76f612783</id>
<content type='text'>
In the case where a file lacks a trailing newline, there is some "evil" code to
reverse goto the tokenizing code ("make_token") for the final token in the
file.  In this case, 'fd' is closed more than once.  Use a negative sentinel
value to guard close(2), preventing the double close.

Ideally, this code would be restructured to avoid this ugly construction.

Reported by:	Coverity
CID:		1006123
Sponsored by:	EMC / Isilon Storage Division
</content>
</entry>
<entry>
<title>Final step of eliminating the "games" distribution: Merge src/games</title>
<updated>2015-10-02T10:08:11Z</updated>
<author>
<name>Colin Percival</name>
<email>cperciva@FreeBSD.org</email>
</author>
<published>2015-10-02T10:08:11Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6ae1554a5d9b318f8ad53ccc39fa5a961403da73'/>
<id>urn:sha1:6ae1554a5d9b318f8ad53ccc39fa5a961403da73</id>
<content type='text'>
(or what's left of it, at least) into src/usr.bin.

This change will not be MFCed.

Discussed at:   EuroBSDCon 2014
Committed from: EuroBSDCon 2015
</content>
</entry>
</feed>
