Attention is currently required from: Felix Singer, Nico Huber, Paul Menzel, Angel Pons, vaibhav.
Tim Wawrzynczak has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/62968 )
Change subject: src/acpi/acpigen_usb.c: Fix False Memory leak error
......................................................................
Patch Set 2:
(2 comments)
Patchset:
PS2:
+ some other folks for other opinions on clang_analyzer
File src/acpi/acpigen_usb.c:
https://review.coreboot.org/c/coreboot/+/62968/comment/36a44ba0_2fe3ce3e
PS2, Line 92: #ifdef __clang_analyzer__
: free(fresh);
: #endif
Hmm, right now we do not have any instances of this in the code I can found, other than vendorcode, not sure if this is worth cluttering up the code with or not. The whole heap area is kept in CBMEM and marked as RESERVED in cbmem table (which most payloads recognize as RESERVED for e820 map), thus there can't be any leaks, by definition, so it seems that just ignoring these may be the best course.
--
To view, visit
https://review.coreboot.org/c/coreboot/+/62968
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ifed611bd0b9c1da3678386bff33bca3eac0311b4
Gerrit-Change-Number: 62968
Gerrit-PatchSet: 2
Gerrit-Owner: vaibhav
vrockz747@gmail.com
Gerrit-Reviewer: Angel Pons
th3fanbus@gmail.com
Gerrit-Reviewer: Felix Singer
felixsinger@posteo.net
Gerrit-Reviewer: Lance Zhao
Gerrit-Reviewer: Nico Huber
nico.h@gmx.de
Gerrit-Reviewer: Tim Wawrzynczak
twawrzynczak@chromium.org
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-CC: Paul Menzel
paulepanter@mailbox.org
Gerrit-Attention: Felix Singer
felixsinger@posteo.net
Gerrit-Attention: Nico Huber
nico.h@gmx.de
Gerrit-Attention: Paul Menzel
paulepanter@mailbox.org
Gerrit-Attention: Angel Pons
th3fanbus@gmail.com
Gerrit-Attention: vaibhav
vrockz747@gmail.com
Gerrit-Comment-Date: Tue, 29 Mar 2022 18:27:27 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment