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

John Polstra jdp at FreeBSD.org
Thu May 13 18:29:22 PDT 2004


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


More information about the cvs-src mailing list