Attention is currently required from: Anastasia Klimchuk, Dmitry Zhadinets.
View Change
1 comment:
File libflashrom.c:
Patch Set #4, Line 59:
/* Dynamic messages and double formatting may not be ideal,
as they are slow. It would be better to limit the message
size to a fixed value (e.g., char message[1024] = {0};). */
This is a question to a reviewer. […]
I would go shorter to perhaps 128 or 256 bytes, but have a fallback to dynamic allocation in case a message is longer than that. I wouldn't expect messages to ever be longer than 256 bytes, but it would be bad to silently drop or truncate messages because they were long.
To view, visit change 86875. To unsubscribe, or for help writing mail filters, visit settings.
Gerrit-MessageType: comment
Gerrit-Project: flashrom
Gerrit-Branch: main
Gerrit-Change-Id: Iea738bd371fa3d69b9cf222c89ee67490d30af39
Gerrit-Change-Number: 86875
Gerrit-PatchSet: 6
Gerrit-Owner: Dmitry Zhadinets <dzhadinets@gmail.com>
Gerrit-Reviewer: Anastasia Klimchuk <aklm@chromium.org>
Gerrit-Reviewer: Peter Marheine <pmarheine@chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-Attention: Dmitry Zhadinets <dzhadinets@gmail.com>
Gerrit-Attention: Anastasia Klimchuk <aklm@chromium.org>
Gerrit-Comment-Date: Sun, 23 Mar 2025 21:20:04 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Dmitry Zhadinets <dzhadinets@gmail.com>
Comment-In-Reply-To: Anastasia Klimchuk <aklm@chromium.org>