Attention is currently required from: Felix Singer, Nico Huber, Paul Menzel, Utkarsh Verma.
Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/74128 )
Change subject: arch/x86/smbios: Avoid buffer overflows
......................................................................
Patch Set 4:
(3 comments)
Patchset:
PS4:
No idea what Coverity is complaining about, but these changes don't really make sense...
Will have a second look tomorrow after resting.
File src/arch/x86/smbios.c:
https://review.coreboot.org/c/coreboot/+/74128/comment/4b6dad88_96e413f6
PS4, Line 148: char string_buffer[15];
How exactly does reducing the buffer size avoid buffer overflows? It would only seem to make them more likely...
https://review.coreboot.org/c/coreboot/+/74128/comment/29f27f55_5c9ca798
PS4, Line 552: static unsigned short cnt = 0;
Why change the type?
--
To view, visit
https://review.coreboot.org/c/coreboot/+/74128
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ibbf93fd113791b6faa1e5128da8e692f7f00ac73
Gerrit-Change-Number: 74128
Gerrit-PatchSet: 4
Gerrit-Owner: Utkarsh Verma
utkarsh@bitbanged.com
Gerrit-Reviewer: Angel Pons
th3fanbus@gmail.com
Gerrit-Reviewer: Felix Singer
felixsinger@posteo.net
Gerrit-Reviewer: Nico Huber
nico.h@gmx.de
Gerrit-Reviewer: Paul Menzel
paulepanter@mailbox.org
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.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: Utkarsh Verma
utkarsh@bitbanged.com
Gerrit-Comment-Date: Sun, 02 Apr 2023 16:22:22 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment