Attention is currently required from: Edward O'Callaghan, Angel Pons.
View Change
1 comment:
File flashrom.c:
Patch Set #13, Line 348: region->name = strdup("");
This (and also strdup in ichspi) can leak memory.
Long term we should fetch the regions from the programmer once and use them to build a layout that has appropriate lifetime and cleanup handled at the level of flashrom context.
Short term we can just free region->name after every call I guess.
To view, visit change 70128. To unsubscribe, or for help writing mail filters, visit settings.
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I9b96fb04b863625d2c9f9a00b97c35b3ddb0871b
Gerrit-Change-Number: 70128
Gerrit-PatchSet: 13
Gerrit-Owner: Nikolai Artemiev <nartemiev@google.com>
Gerrit-Reviewer: Edward O'Callaghan <quasisec@chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-CC: Angel Pons <th3fanbus@gmail.com>
Gerrit-Attention: Edward O'Callaghan <quasisec@chromium.org>
Gerrit-Attention: Angel Pons <th3fanbus@gmail.com>
Gerrit-Comment-Date: Wed, 07 Dec 2022 00:59:09 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment