Attention is currently required from: Martin L Roth, Patrick Georgi, Tim Wawrzynczak.
Nigel Tao has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/78271?usp=email )
Change subject: lib/jpeg: Replace decoder with Wuffs' implementation
......................................................................
Patch Set 2:
(1 comment)
File src/lib/bootsplash.c:
https://review.coreboot.org/c/coreboot/+/78271/comment/bf59ab9f_96634524 :
PS2, Line 29: printk(BIOS_DEBUG, "Bootsplash image resolution: %dx%d\n", image_width, image_height);
pass the `image_width > x_resolution` check
Ah, actually it won't. I mis-remembered how C implicitly converts signed/unsigned in "a < b" expressions, when a and b have different types.
Still, mixing signed and unsigned can obviously be confusing / surprising / buggy, and I'd recommend being explicit. And, y'know, returning early if `jpeg_fetch_size` fails.
--
To view, visit
https://review.coreboot.org/c/coreboot/+/78271?usp=email
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: If8fa7da69da1ad412f27c2c5e882393c7739bc82
Gerrit-Change-Number: 78271
Gerrit-PatchSet: 2
Gerrit-Owner: Patrick Georgi
patrick@coreboot.org
Gerrit-Reviewer: Martin L Roth
gaumless@gmail.com
Gerrit-Reviewer: Martin Roth
martinroth@google.com
Gerrit-Reviewer: Stefan Reinauer
stefan.reinauer@coreboot.org
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-Reviewer: ron minnich
rminnich@gmail.com
Gerrit-CC: Nigel Tao
nigeltao@golang.org
Gerrit-CC: Paul Menzel
paulepanter@mailbox.org
Gerrit-CC: Tim Wawrzynczak
inforichland@gmail.com
Gerrit-Attention: Patrick Georgi
patrick@coreboot.org
Gerrit-Attention: Martin L Roth
gaumless@gmail.com
Gerrit-Attention: Tim Wawrzynczak
inforichland@gmail.com
Gerrit-Comment-Date: Thu, 12 Oct 2023 00:50:30 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Nigel Tao
nigeltao@golang.org
Gerrit-MessageType: comment