Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/dev/ic




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@localhost>

Attachment: PGP.sig
Description: This is a digitally signed message part



Home | Main Index | Thread Index | Old Index