bin/79260: syslogd may accept illegal facility number from remote.

Simon L. Nielsen simon at FreeBSD.org
Sat Mar 26 12:10:05 PST 2005


The following reply was made to PR bin/79260; it has been noted by GNATS.

From: "Simon L. Nielsen" <simon at FreeBSD.org>
To: Shuichi KITAGUCHI <kit at ysnb.net>
Cc: freebsd-gnats-submit at FreeBSD.org
Subject: Re: bin/79260: syslogd may accept illegal facility number from remote.
Date: Sat, 26 Mar 2005 21:01:29 +0100

 --KsGdsel6WgEHnImy
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 On 2005.03.26 18:00:52 +0000, Shuichi KITAGUCHI wrote:
 
 > syslogd can accept priority number which larger than LOG_NFACILITIES
 > from remote host. but in struct filed, member variable f_pmask array
 > and f_pcmp array is limited to LOG_NFACILITIES. therefore syslogd
 > access invalid address in logmsg() when facility is larger than
 > LOG_NFACILITIES.
 
 Have you looked at what the implications of this is, mainly can you
 crash syslogd due to this bug?
 
 --=20
 Simon L. Nielsen
 
 --KsGdsel6WgEHnImy
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.0 (FreeBSD)
 
 iD8DBQFCRb+Sh9pcDSc1mlERAtNgAJoCGDwMqqgXv5pwQ2aGeNe/NvpF+QCfftXV
 huaaCZgoIr8d0OLNaqIWjGA=
 =HujK
 -----END PGP SIGNATURE-----
 
 --KsGdsel6WgEHnImy--


More information about the freebsd-bugs mailing list