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 1430578:  Integer handling issues  (CONSTANT_EXPRESSION_RESULT)
/src/security/intel/stm/SmmStm.c: 359 in validate_resource()


________________________________________________________________________________________________________
*** CID 1430578:  Integer handling issues  (CONSTANT_EXPRESSION_RESULT)
/src/security/intel/stm/SmmStm.c: 359 in validate_resource()
353                                     resource->mem.base,
354                                     resource->mem.length);
355     
356                             if (resource->header.length != 
sizeof(STM_RSC_MEM_DESC))
357                                     return false;
358     
>>>     CID 1430578:  Integer handling issues  (CONSTANT_EXPRESSION_RESULT)
>>>     "resource->mem.rwx_attributes > 7" is always false regardless of the 
>>> values of its operands. This occurs as the logical operand of "if".
359                             if (resource->mem.rwx_attributes > FULL_ACCS)
360                                     return false;
361                             break;
362     
363                     case IO_RANGE:
364                     case TRAPPED_IO_RANGE:


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, 
https://u15810271.ct.sendgrid.net/ls/click?upn=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50yq2SfQfrHt3Prsn4qSLrYIrajINpiFX8l0vrlNSf8iCrS27qY0Cr0DkycwNUgGZJj8-3DCA20_L-2FDzr14mnrsJO5b1wX1hp9b1MAQygl7x-2B74RAaH2cn1wYr-2BmoHWYdHEe48IJ1SOt6ZbTABbC1UF3aiOlNZkzF37ttABx9ioquCNI912h-2BinJ1dAzwdTU2TIu6OVlrRILcOx4JrT4c9Re7yCH9NdIF-2Bxf2XTmyEO4balArvRgnDdNLeTuMXhcWq4uulH5LluSFxofi-2BcLIMoN2LY3BvkoKRL1xptgwd-2F0Iqsln2kOw4c-3D
_______________________________________________
coreboot mailing list -- coreboot@coreboot.org
To unsubscribe send an email to coreboot-le...@coreboot.org

Reply via email to