* grub-core/commands/acpi.c (grub_acpi_create_ebda): Don't

dereference null pointer. While the code is technically correct, gcc
	may eliminate a null check if pointer is already dereferenced.
This commit is contained in:
Nickolai Zeldovich 2013-03-07 08:52:29 +01:00 committed by Vladimir 'phcoder' Serbinenko
parent e11645f434
commit efd4f11754
2 changed files with 10 additions and 3 deletions

View file

@ -1,3 +1,9 @@
2013-03-07 Nickolai Zeldovich <nickolai@csail.mit.edu>
* grub-core/commands/acpi.c (grub_acpi_create_ebda): Don't
dereference null pointer. While the code is technically correct, gcc
may eliminate a null check if pointer is already dereferenced.
2013-03-07 Nickolai Zeldovich <nickolai@csail.mit.edu>
* grub-core/normal/crypto.c (read_crypto_list): Fix incorrect