Angel Pons has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/39387 )
Change subject: arch/x86/acpigen.c: Prevent null pointer dereference ......................................................................
arch/x86/acpigen.c: Prevent null pointer dereference
Change-Id: I7705d9a371b54f61b5050de34a05fe08a8989571 Signed-off-by: Angel Pons th3fanbus@gmail.com --- M src/arch/x86/acpigen.c 1 file changed, 5 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/87/39387/1
diff --git a/src/arch/x86/acpigen.c b/src/arch/x86/acpigen.c index a599b0e..0abab11 100644 --- a/src/arch/x86/acpigen.c +++ b/src/arch/x86/acpigen.c @@ -288,6 +288,11 @@ int dotcount = 0, i; int dotpos = 0;
+ if (!namepath) { + printk(BIOS_ERR, "%s: namepath is NULL!\n"); + return; + } + /* We can start with a ''. */ if (namepath[0] == '\') { acpigen_emit_byte('\');
HAOUAS Elyes has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/39387 )
Change subject: arch/x86/acpigen.c: Prevent null pointer dereference ......................................................................
Patch Set 1:
(1 comment)
https://review.coreboot.org/c/coreboot/+/39387/1/src/arch/x86/acpigen.c File src/arch/x86/acpigen.c:
https://review.coreboot.org/c/coreboot/+/39387/1/src/arch/x86/acpigen.c@292 PS1, Line 292: ); ", __func__);" is missing?
Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/39387 )
Change subject: arch/x86/acpigen.c: Prevent null pointer dereference ......................................................................
Patch Set 1:
(1 comment)
https://review.coreboot.org/c/coreboot/+/39387/1/src/arch/x86/acpigen.c File src/arch/x86/acpigen.c:
https://review.coreboot.org/c/coreboot/+/39387/1/src/arch/x86/acpigen.c@292 PS1, Line 292: );
", __func__);" is missing?
It is.
Hello build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/39387
to look at the new patch set (#2).
Change subject: arch/x86/acpigen.c: Prevent null pointer dereference ......................................................................
arch/x86/acpigen.c: Prevent null pointer dereference
Change-Id: I7705d9a371b54f61b5050de34a05fe08a8989571 Signed-off-by: Angel Pons th3fanbus@gmail.com --- M src/arch/x86/acpigen.c 1 file changed, 5 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/87/39387/2
Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/39387 )
Change subject: arch/x86/acpigen.c: Prevent null pointer dereference ......................................................................
Patch Set 2:
(1 comment)
https://review.coreboot.org/c/coreboot/+/39387/1/src/arch/x86/acpigen.c File src/arch/x86/acpigen.c:
https://review.coreboot.org/c/coreboot/+/39387/1/src/arch/x86/acpigen.c@292 PS1, Line 292: );
It is.
Done
HAOUAS Elyes has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/39387 )
Change subject: arch/x86/acpigen.c: Prevent null pointer dereference ......................................................................
Patch Set 2:
There is a conflict with https://review.coreboot.org/c/coreboot/+/30098/4/src/arch/x86/acpigen.c
Angel Pons has abandoned this change. ( https://review.coreboot.org/c/coreboot/+/39387 )
Change subject: arch/x86/acpigen.c: Prevent null pointer dereference ......................................................................
Abandoned