Attention is currently required from: Nico Huber, Namyoon Woo, Edward O'Callaghan, Anastasia Klimchuk.
View Change
4 comments:
File dummyflasher.c:
Patch Set #2, Line 971:
free(status);
if (errno != 0 || status == endptr) {
For another patch: this has an use-after-free bug, just like the one CB:46551 fixed.
Patch Set #2, Line 975: return 1;
This will result in `data->flashchip_contents` leaking. I'd move the initialisation out of init_data(), see comment below.
Patch Set #2, Line 1014:
I would initialise `data->flashchip_contents` here:
data->flashchip_contents = malloc(data->emu_chip_size);
if (!data->flashchip_contents) {
msg_perr("Out of memory!\n");
free(data);
return 1;
}
Patch Set #2, Line 1035: emu_persistent_image
Meh, this is leaking: CB:54905
To view, visit change 54748. To unsubscribe, or for help writing mail filters, visit settings.
Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I04f55f77bb4703f1d88b2191c45a22be3c97bf87
Gerrit-Change-Number: 54748
Gerrit-PatchSet: 2
Gerrit-Owner: Anastasia Klimchuk <aklm@chromium.org>
Gerrit-Reviewer: Angel Pons <th3fanbus@gmail.com>
Gerrit-Reviewer: Edward O'Callaghan <quasisec@chromium.org>
Gerrit-Reviewer: Namyoon Woo <namyoon@google.com>
Gerrit-Reviewer: Nico Huber <nico.h@gmx.de>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-Attention: Nico Huber <nico.h@gmx.de>
Gerrit-Attention: Namyoon Woo <namyoon@google.com>
Gerrit-Attention: Edward O'Callaghan <quasisec@chromium.org>
Gerrit-Attention: Anastasia Klimchuk <aklm@chromium.org>
Gerrit-Comment-Date: Tue, 25 May 2021 10:53:07 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment