cvs commit: src/sys/boot/i386/libi386 biosacpi.c

Nate Lawson nate at root.org
Thu May 13 21:12:43 PDT 2004


On Thu, 13 May 2004, John Polstra wrote:
> jdp         2004/05/13 18:29:21 PDT
>
>   FreeBSD src repository
>
>   Modified files:
>     sys/boot/i386/libi386 biosacpi.c
>   Log:
>   Fix a potential stack buffer overflow on systems whose ACPI OEMID
>   fills its field (6 characters).  In that case the OEMID is not
>   null-terminated, and the sprintf that was used would copy up to the
>   next null byte, which could be pretty far away.
>
>   Revision  Changes    Path
>   1.8       +2 -2      src/sys/boot/i386/libi386/biosacpi.c

Thanks for fixing this and running it past me for review.

-Nate


More information about the cvs-src mailing list