Attention is currently required from: Paul Menzel, Julius Werner.
Jakub Czapiga has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/52136 )
Change subject: tests/lib/malloc-test: Fix possible memory overrun
......................................................................
Patch Set 2:
(1 comment)
Patchset:
PS2:
Sorry, where is the overrun here? These two symbols point to the same address, right? […]
Yes, _heap points to the beginning of _test_heap. Pointers should be equal.
This Coverity report looked suspicious to me. It's not strange that Coverity does not know how to parse TEST_SYMBOL() macros and get correct buffer from symbol.
Should I create changes like that in future but with comment like: "To silence Coverity", or just ignore irrelevant "bugs" reported by it? (Should I abandon this change as well?)
--
To view, visit
https://review.coreboot.org/c/coreboot/+/52136
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I19f0718c657d565e515157e66367573e08f51254
Gerrit-Change-Number: 52136
Gerrit-PatchSet: 2
Gerrit-Owner: Jakub Czapiga
jacz@semihalf.com
Gerrit-Reviewer: Patrick Georgi
pgeorgi@google.com
Gerrit-Reviewer: Paul Fagerburg
pfagerburg@chromium.org
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-CC: Julius Werner
jwerner@chromium.org
Gerrit-CC: Paul Menzel
paulepanter@users.sourceforge.net
Gerrit-Attention: Paul Menzel
paulepanter@users.sourceforge.net
Gerrit-Attention: Julius Werner
jwerner@chromium.org
Gerrit-Comment-Date: Wed, 07 Apr 2021 07:26:47 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Julius Werner
jwerner@chromium.org
Gerrit-MessageType: comment