Attention is currently required from: Bao Zheng, Raul Rangel, Martin L Roth, Felix Held.
Karthik Ramasubramanian has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/70778 )
Change subject: util/amdfwtool: Write EFS and AMDFW body in separate files
......................................................................
Patch Set 4:
(2 comments)
File util/amdfwtool/amdfwtool.c:
https://review.coreboot.org/c/coreboot/+/70778/comment/eac36654_927376d4
PS2, Line 1967: efs_name
You might want to write a .tmp file and rename it once it's created. […]
Done
File util/amdfwtool/amdfwtool.c:
https://review.coreboot.org/c/coreboot/+/70778/comment/69e300bd_75b2bcd1
PS3, Line 1962: file_name_len = strlen(output) + strlen(EFS_FILE_SUFFIX) + strlen(TMP_FILE_SUFFIX) + 1;
: if (file_name_len > PATH_MAX) {
: fprintf(stderr, "EFS File name len %zu > %u\n", file_name_len, PATH_MAX);
: exit(1);
: }
You can check the return value of `snprintf` instead. […]
Done
--
To view, visit
https://review.coreboot.org/c/coreboot/+/70778
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I79325c81394cf8a0c663752d094adf6660896127
Gerrit-Change-Number: 70778
Gerrit-PatchSet: 4
Gerrit-Owner: Karthik Ramasubramanian
kramasub@google.com
Gerrit-Reviewer: Bao Zheng
fishbaozi@gmail.com
Gerrit-Reviewer: Felix Held
felix-coreboot@felixheld.de
Gerrit-Reviewer: Martin L Roth
gaumless@gmail.com
Gerrit-Reviewer: Raul Rangel
rrangel@chromium.org
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-Attention: Bao Zheng
fishbaozi@gmail.com
Gerrit-Attention: Raul Rangel
rrangel@chromium.org
Gerrit-Attention: Martin L Roth
gaumless@gmail.com
Gerrit-Attention: Felix Held
felix-coreboot@felixheld.de
Gerrit-Comment-Date: Tue, 20 Dec 2022 20:57:41 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Raul Rangel
rrangel@chromium.org
Gerrit-MessageType: comment