Jacob Garber has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/34355 )
Change subject: nb/via/vx900: Ensure framebuffer size is within limits
......................................................................
Patch Set 2:
(1 comment)
https://review.coreboot.org/c/coreboot/+/34355/2/src/northbridge/via/vx900/m...
File src/northbridge/via/vx900/memmap.c:
https://review.coreboot.org/c/coreboot/+/34355/2/src/northbridge/via/vx900/m...
PS2, Line 89: size_mb = (1U << fb_pow);
I see why you would want to change this, but what if fb_pow is, e.g. […]
fb_pow is bounded by the number of bits in size_mb, so it can only be up to 31 (which then can't cause any overflow when shifting)
--
To view, visit
https://review.coreboot.org/c/coreboot/+/34355
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I3962e5cdc094c8da22d8dbadf16637e02fa98689
Gerrit-Change-Number: 34355
Gerrit-PatchSet: 2
Gerrit-Owner: Jacob Garber
jgarber1@ualberta.ca
Gerrit-Reviewer: Angel Pons
th3fanbus@gmail.com
Gerrit-Reviewer: David Hendricks
david.hendricks@gmail.com
Gerrit-Reviewer: Jacob Garber
jgarber1@ualberta.ca
Gerrit-Reviewer: Kyösti Mälkki
kyosti.malkki@gmail.com
Gerrit-Reviewer: Martin Roth
martinroth@google.com
Gerrit-Reviewer: Patrick Georgi
pgeorgi@google.com
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-Comment-Date: Tue, 16 Jul 2019 20:52:31 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Angel Pons
th3fanbus@gmail.com
Gerrit-MessageType: comment