Subject: Re: CVS commit: src/sys/dev/ic
To: None <itojun@netbsd.org>
From: Jason Thorpe <thorpej@wasabisystems.com>
List: source-changes
Date: 04/21/2004 11:29:31
--Apple-Mail-26--961727126
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII; format=flowed


On Apr 21, 2004, at 11:03 AM, Jun-ichiro itojun Hagino wrote:

> Module Name:	src
> Committed By:	itojun
> Date:		Wed Apr 21 18:03:13 UTC 2004
>
> Modified Files:
> 	src/sys/dev/ic: aic79xx.c aic79xx_osm.c aic79xxvar.h aic7xxx.c
> 	    aic7xxx_osm.c aic7xxxvar.h
>
> Log Message:
> avoid unbounded sprintf(), use snprintf()

Please not that this driver is maintained externally (by Justin Gibbs @ 
FreeBSD), and so these changes should be fed back to him to keep the 
drivers in sync as much as possible.

BTW, where there any places where the sprintfs() you replaced actually 
overflowed, or is this just a code sweep that fixes no problem in 
particular?

         -- Jason R. Thorpe <thorpej@wasabisystems.com>


--Apple-Mail-26--961727126
content-type: application/pgp-signature; x-mac-type=70674453;
	name=PGP.sig
content-description: This is a digitally signed message part
content-disposition: inline; filename=PGP.sig
content-transfer-encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (Darwin)

iD8DBQFAhr2LOpVKkaBm8XkRArHqAJ9+5KPSw1l9zEiQF5clnoU/bOyUnwCffccL
W4g3famkYN3f5BJralVJrXw=
=xn8h
-----END PGP SIGNATURE-----

--Apple-Mail-26--961727126--