[coreboot-gerrit] Change in coreboot[master]: libpayload: corebootfb: Add null check for framebuffer address

Duncan Laurie (Code Review) gerrit at coreboot.org
Mon Jun 26 11:01:45 CEST 2017


Duncan Laurie has uploaded a new patch set (#2). ( https://review.coreboot.org/20368 )

Change subject: libpayload: corebootfb: Add null check for framebuffer address
......................................................................

libpayload: corebootfb: Add null check for framebuffer address

If the framebuffer address is zero the corebootfb_init() function
should abort and not attempt to use it for video, otherwise it
will likely hang.

This was tested by booting on a board that does not have a display
attached and includes the previous patch to zero the framebuffer
structure in the coreboot tables.

Change-Id: I53ca2e947a7915cebb31b51e11ac6c310d9d6c55
Signed-off-by: Duncan Laurie <dlaurie at chromium.org>
---
M payloads/libpayload/drivers/video/corebootfb.c
1 file changed, 2 insertions(+), 0 deletions(-)


  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/68/20368/2
-- 
To view, visit https://review.coreboot.org/20368
To unsubscribe, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I53ca2e947a7915cebb31b51e11ac6c310d9d6c55
Gerrit-Change-Number: 20368
Gerrit-PatchSet: 2
Gerrit-Owner: Duncan Laurie <dlaurie at chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply at coreboot.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20170626/7f336369/attachment.html>


More information about the coreboot-gerrit mailing list