<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/usr.sbin/bootparamd, branch upstream/10.4.0</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>MFC r318790, r319336</title>
<updated>2017-07-07T15:09:08+00:00</updated>
<author>
<name>Alan Somers</name>
<email>asomers@FreeBSD.org</email>
</author>
<published>2017-07-07T15:09:08+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=b61f4427df750614c326895c70a13315181d0349'/>
<id>b61f4427df750614c326895c70a13315181d0349</id>
<content type='text'>
r318790:
Fix a buffer overflow in bootparamd(8)

If /etc/bootparams contains a line with an excessively long pathname, and a
client asks for that path, then bootparamd will overflow a buffer and crash
while parsing that line.  This is not remotely exploitable since it requires
a malformed /etc/bootparams file.

Reported by:	Coverity
CID:		1305954
Sponsored by:	Spectra Logic Corp

r319336:
Fix uninitialized variable in bootparamd.c

Restore line that was accidentally deleted in change 318790

Reported by:	Coverity
CID:		1375855
X-MFC-With:	318790
Sponsored by:	Spectra Logic Corp
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
r318790:
Fix a buffer overflow in bootparamd(8)

If /etc/bootparams contains a line with an excessively long pathname, and a
client asks for that path, then bootparamd will overflow a buffer and crash
while parsing that line.  This is not remotely exploitable since it requires
a malformed /etc/bootparams file.

Reported by:	Coverity
CID:		1305954
Sponsored by:	Spectra Logic Corp

r319336:
Fix uninitialized variable in bootparamd.c

Restore line that was accidentally deleted in change 318790

Reported by:	Coverity
CID:		1375855
X-MFC-With:	318790
Sponsored by:	Spectra Logic Corp
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC r290645:</title>
<updated>2015-11-19T00:14:23+00:00</updated>
<author>
<name>Enji Cooper</name>
<email>ngie@FreeBSD.org</email>
</author>
<published>2015-11-19T00:14:23+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=6a78ff91f4d23f7eea0493199309688da1640e4e'/>
<id>6a78ff91f4d23f7eea0493199309688da1640e4e</id>
<content type='text'>
Fix some trivial warnings with bootparamd/main.c

- Convert K&amp;R to something a bit less ancient
- Remove an incorrect, duplicate prototype for bootparamprog_1(..)

PR: 71667
Submitted by: bcran
Sponsored by: EMC / Isilon Storage Division
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix some trivial warnings with bootparamd/main.c

- Convert K&amp;R to something a bit less ancient
- Remove an incorrect, duplicate prototype for bootparamprog_1(..)

PR: 71667
Submitted by: bcran
Sponsored by: EMC / Isilon Storage Division
</pre>
</div>
</content>
</entry>
<entry>
<title>MFC r264400,r265836:</title>
<updated>2014-12-31T23:25:37+00:00</updated>
<author>
<name>Enji Cooper</name>
<email>ngie@FreeBSD.org</email>
</author>
<published>2014-12-31T23:25:37+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=be39f9d2337a354f95e8be9e96a52202de94b428'/>
<id>be39f9d2337a354f95e8be9e96a52202de94b428</id>
<content type='text'>
r264400:

  NO_MAN= has been deprecated in favor of MAN= for some time, go ahead
  and finish the job. ncurses is now the only Makefile in the tree that
  uses it since it wasn't a simple mechanical change, and will be
  addressed in a future commit.

r265836:

  Remove last two NO_MAN= in the tree. In both of these cases, MAN= is
  what is needed.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
r264400:

  NO_MAN= has been deprecated in favor of MAN= for some time, go ahead
  and finish the job. ncurses is now the only Makefile in the tree that
  uses it since it wasn't a simple mechanical change, and will be
  addressed in a future commit.

r265836:

  Remove last two NO_MAN= in the tree. In both of these cases, MAN= is
  what is needed.
</pre>
</div>
</content>
</entry>
<entry>
<title>mdoc sweep.</title>
<updated>2013-05-12T22:22:12+00:00</updated>
<author>
<name>Joel Dahl</name>
<email>joel@FreeBSD.org</email>
</author>
<published>2013-05-12T22:22:12+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=2710751bc309af25c6dea1171781678258e83840'/>
<id>2710751bc309af25c6dea1171781678258e83840</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>mdoc: terminate quoted strings.</title>
<updated>2012-03-26T15:18:14+00:00</updated>
<author>
<name>Joel Dahl</name>
<email>joel@FreeBSD.org</email>
</author>
<published>2012-03-26T15:18:14+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=c2965cd1854b75e6a13cb4bd6759b71adc8d2a87'/>
<id>c2965cd1854b75e6a13cb4bd6759b71adc8d2a87</id>
<content type='text'>
Reviewed by:	brueffer
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewed by:	brueffer
</pre>
</div>
</content>
</entry>
<entry>
<title>Consistently set RPCGEN_CPP when running rpcgen, so the C preprocessor</title>
<updated>2012-02-07T09:27:07+00:00</updated>
<author>
<name>Dimitry Andric</name>
<email>dim@FreeBSD.org</email>
</author>
<published>2012-02-07T09:27:07+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=5e0a19bdeee80766c9e20ab1f85487fbeaf64894'/>
<id>5e0a19bdeee80766c9e20ab1f85487fbeaf64894</id>
<content type='text'>
set via ${CPP} is used, instead of always using hardcoded /usr/bin/cpp.

MFC after:	1 week
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
set via ${CPP} is used, instead of always using hardcoded /usr/bin/cpp.

MFC after:	1 week
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix warning when compiling with gcc46:</title>
<updated>2012-01-20T01:39:26+00:00</updated>
<author>
<name>Eitan Adler</name>
<email>eadler@FreeBSD.org</email>
</author>
<published>2012-01-20T01:39:26+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=30d3283b15c965aff5d553d817c99011900f036b'/>
<id>30d3283b15c965aff5d553d817c99011900f036b</id>
<content type='text'>
	error: variable 'clnt_stat' set but not used

Approved by:	dim, cperciva (mentor, blanket for pre-mentorship already-approved commits)
MFC after:	3 days
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	error: variable 'clnt_stat' set but not used

Approved by:	dim, cperciva (mentor, blanket for pre-mentorship already-approved commits)
MFC after:	3 days
</pre>
</div>
</content>
</entry>
<entry>
<title>Replace index() and rindex() calls with strchr() and strrchr().</title>
<updated>2012-01-03T18:51:58+00:00</updated>
<author>
<name>Ed Schouten</name>
<email>ed@FreeBSD.org</email>
</author>
<published>2012-01-03T18:51:58+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=b3608ae18f1e5598bed81d0a10dd585a5080c40d'/>
<id>b3608ae18f1e5598bed81d0a10dd585a5080c40d</id>
<content type='text'>
The index() and rindex() functions were marked LEGACY in the 2001
revision of POSIX and were subsequently removed from the 2008 revision.
The strchr() and strrchr() functions are part of the C standard.

This makes the source code a lot more consistent, as most of these C
files also call into other str*() routines. In fact, about a dozen
already perform strchr() calls.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The index() and rindex() functions were marked LEGACY in the 2001
revision of POSIX and were subsequently removed from the 2008 revision.
The strchr() and strrchr() functions are part of the C standard.

This makes the source code a lot more consistent, as most of these C
files also call into other str*() routines. In fact, about a dozen
already perform strchr() calls.
</pre>
</div>
</content>
</entry>
<entry>
<title>Spelling fixes for usr.sbin/</title>
<updated>2011-12-30T10:58:14+00:00</updated>
<author>
<name>Ulrich Spörlein</name>
<email>uqs@FreeBSD.org</email>
</author>
<published>2011-12-30T10:58:14+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=3df5ecac8c5e0a9105ba0e783bd9e7077df944e7'/>
<id>3df5ecac8c5e0a9105ba0e783bd9e7077df944e7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Unbreak bootparamd when setting WITHOUT_NIS.</title>
<updated>2010-01-04T18:08:16+00:00</updated>
<author>
<name>Ed Schouten</name>
<email>ed@FreeBSD.org</email>
</author>
<published>2010-01-04T18:08:16+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=24cb3af593b5f3461a72f9893f69d1d2e90516d1'/>
<id>24cb3af593b5f3461a72f9893f69d1d2e90516d1</id>
<content type='text'>
Submitted by:	bf1783 googlemail com
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Submitted by:	bf1783 googlemail com
</pre>
</div>
</content>
</entry>
</feed>
