diff options
author | njl <njl@FreeBSD.org> | 2005-04-16 17:38:24 +0000 |
---|---|---|
committer | njl <njl@FreeBSD.org> | 2005-04-16 17:38:24 +0000 |
commit | 5851800a14b1af19b5d6ca241de8cc68deb7e95a (patch) | |
tree | 7115529b38a8684e0aee55356841d6483ee0d693 /sys/boot | |
parent | 7c969cff250ea9feb3359dac3ce714056026c68a (diff) | |
download | FreeBSD-src-5851800a14b1af19b5d6ca241de8cc68deb7e95a.zip FreeBSD-src-5851800a14b1af19b5d6ca241de8cc68deb7e95a.tar.gz |
Extend a local buffer to prevent an overflow of the XSDT address.
Submitted by: Joerg Sonnenberger
Obtained from: DragonflyBSD
MFC after: 1 day
Diffstat (limited to 'sys/boot')
-rw-r--r-- | sys/boot/i386/libi386/biosacpi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/boot/i386/libi386/biosacpi.c b/sys/boot/i386/libi386/biosacpi.c index f9b2d77..cb20215 100644 --- a/sys/boot/i386/libi386/biosacpi.c +++ b/sys/boot/i386/libi386/biosacpi.c @@ -51,7 +51,7 @@ void biosacpi_detect(void) { RSDP_DESCRIPTOR *rsdp; - char buf[16]; + char buf[24]; int revision; /* XXX check the BIOS datestamp */ |