]> git.hungrycats.org Git - linux/commit
ia64: Fix efi_mem_type() and efi_mem_attributes() to avoid potential
authorDavid Mosberger <davidm@tiger.hpl.hp.com>
Tue, 21 Oct 2003 10:52:58 +0000 (03:52 -0700)
committerDavid Mosberger <davidm@tiger.hpl.hp.com>
Tue, 21 Oct 2003 10:52:58 +0000 (03:52 -0700)
commitd2d79af1c4b892971e0706b9caef86005c2b4866
tree43412947c5deabf18dcede5933b6914a516701d8
parentfa872b345fafde3b9ae1c3a35ea011e4d8a0684b
ia64: Fix efi_mem_type() and efi_mem_attributes() to avoid potential
underflows.  In my case, the underflows occurred with the
first memory descriptor which got trimmed down to a size of 0.
Due to the underflow, this descriptor ended up covering the entire
address-range which in turn caused Bad Things to happen with the
X server.
arch/ia64/kernel/efi.c