Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 May 2004 18:29:21 -0700 (PDT)
From:      John Polstra <jdp@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/boot/i386/libi386 biosacpi.c
Message-ID:  <200405140129.i4E1TLqx024880@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200405140129.i4E1TLqx024880>