aboutsummaryrefslogtreecommitdiff
path: root/sys/boot
diff options
context:
space:
mode:
authorNate Lawson <njl@FreeBSD.org>2005-04-16 17:38:24 +0000
committerNate Lawson <njl@FreeBSD.org>2005-04-16 17:38:24 +0000
commit2626a56934266e98169e8027d7dd6e7f0c5faf34 (patch)
tree7115529b38a8684e0aee55356841d6483ee0d693 /sys/boot
parent5970af4cd4235a28bafea48a03c394c80f0ade7c (diff)
downloadsrc-2626a56934266e98169e8027d7dd6e7f0c5faf34.tar.gz
src-2626a56934266e98169e8027d7dd6e7f0c5faf34.zip
Extend a local buffer to prevent an overflow of the XSDT address.
Submitted by: Joerg Sonnenberger Obtained from: DragonflyBSD MFC after: 1 day
Notes
Notes: svn path=/head/; revision=145158
Diffstat (limited to 'sys/boot')
-rw-r--r--sys/boot/i386/libi386/biosacpi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/boot/i386/libi386/biosacpi.c b/sys/boot/i386/libi386/biosacpi.c
index f9b2d774b054..cb2021561101 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 */