diff options
author | Robert Noland <rnoland@FreeBSD.org> | 2009-11-12 16:28:39 +0000 |
---|---|---|
committer | Robert Noland <rnoland@FreeBSD.org> | 2009-11-12 16:28:39 +0000 |
commit | a59a1310938a37d71fc06848dee10aa4fe0a1635 (patch) | |
tree | a0824f7e0000690c0462937401550d49f3094891 /sys/isa/vga_isa.c | |
parent | d11330495677c55460fc45771da2ec89f92e10a1 (diff) | |
download | src-a59a1310938a37d71fc06848dee10aa4fe0a1635.tar.gz src-a59a1310938a37d71fc06848dee10aa4fe0a1635.zip |
We need to allocate space for the header in the create path also.
This fixes a null pointer dereference with "gpart create -s GPT" after
the previous commit.
Reported by: Yuri Pankov
Pointyhat to: me
MFC after: 1 week
Notes
Notes:
svn path=/head/; revision=199228
Diffstat (limited to 'sys/isa/vga_isa.c')
0 files changed, 0 insertions, 0 deletions