[coreboot] Re: New Defects reported by Coverity Scan for coreboot

2022-10-11 Thread Angel Pons
Hi Patrick, On Tue, Oct 11, 2022 at 6:43 PM Patrick Georgi wrote: > > "Angel Pons" schrieb: > > > We made the patches that made Coverity angry about this `format_pn()` > > function. However, this is not an actual bug: the > > `eeprom_read_serial()` function returns a buffer that is at most 32 >

[coreboot] Re: New Defects reported by Coverity Scan for coreboot

2022-10-11 Thread Patrick Georgi via coreboot
"Angel Pons" schrieb: > We made the patches that made Coverity angry about this `format_pn()` > function. However, this is not an actual bug: the > `eeprom_read_serial()` function returns a buffer that is at most 32 > (`HERMES_SN_PN_LENGTH`) characters long, and the length of the > `prefix`

[coreboot] Re: New Defects reported by Coverity Scan for coreboot

2022-10-11 Thread Angel Pons
Hi list, We made the patches that made Coverity angry about this `format_pn()` function. However, this is not an actual bug: the `eeprom_read_serial()` function returns a buffer that is at most 32 (`HERMES_SN_PN_LENGTH`) characters long, and the length of the `prefix` string is known at

[coreboot] New Defects reported by Coverity Scan for coreboot

2022-10-11 Thread scan-admin--- via coreboot
Hi, Please find the latest report on new defect(s) introduced to coreboot found with Coverity Scan. 1 new defect(s) introduced to coreboot found with Coverity Scan. New defect(s) Reported-by: Coverity Scan Showing 1 of 1 defect(s) ** CID 1498959:(STRING_OVERFLOW)