Coverity-updates archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
New Defects reported by Coverity Scan for NetBSD-amd64-user
Hi,
Please find the latest report on new defect(s) introduced to NetBSD-amd64-user found with Coverity Scan.
3 new defect(s) introduced to NetBSD-amd64-user found with Coverity Scan.
16 defect(s), reported by Coverity Scan earlier, were marked fixed in the recent build analyzed by Coverity Scan.
New defect(s) Reported-by: Coverity Scan
Showing 3 of 3 defect(s)
** CID 1292510: Null pointer dereferences (NULL_RETURNS)
/sys/external/bsd/acpica/dist/dispatcher/dsutils.c: 608 in AcpiDsCreateOperand()
________________________________________________________________________________________________________
*** CID 1292510: Null pointer dereferences (NULL_RETURNS)
/sys/external/bsd/acpica/dist/dispatcher/dsutils.c: 608 in AcpiDsCreateOperand()
602 else if (ParentOp->Common.AmlOpcode == AML_EXTERNAL_OP)
603 {
604 /* TBD: May only be temporary */
605
606 ObjDesc = AcpiUtCreateStringObject ((ACPI_SIZE) NameLength);
607
>>> CID 1292510: Null pointer dereferences (NULL_RETURNS)
>>> Dereferencing a null pointer "ObjDesc".
608 strncpy (ObjDesc->String.Pointer, NameString, NameLength);
609 Status = AE_OK;
610 }
611 else
612 {
613 /*
** CID 1298707: Uninitialized variables (UNINIT)
/sys/external/bsd/acpica/dist/compiler/dttable.c: 1471 in DtCompileIort()
________________________________________________________________________________________________________
*** CID 1298707: Uninitialized variables (UNINIT)
/sys/external/bsd/acpica/dist/compiler/dttable.c: 1471 in DtCompileIort()
1465 UINT32 NodeNumber;
1466 UINT32 NodeLength;
1467 UINT32 IdMappingNumber;
1468 UINT32 ItsNumber;
1469 UINT32 ContextIrptNumber;
1470 UINT32 PmuIrptNumber;
>>> CID 1298707: Uninitialized variables (UNINIT)
>>> Declaring variable "PaddingLength" without initializer.
1471 UINT32 PaddingLength;
1472
1473
1474 ParentTable = DtPeekSubtable ();
1475
1476 Status = DtCompileTable (PFieldList, AcpiDmTableInfoIort,
** CID 1320410: Memory - illegal accesses (UNINIT)
/sys/external/bsd/acpica/dist/compiler/aslopcodes.c: 848 in OpcDoPld()
________________________________________________________________________________________________________
*** CID 1320410: Memory - illegal accesses (UNINIT)
/sys/external/bsd/acpica/dist/compiler/aslopcodes.c: 848 in OpcDoPld()
842 ******************************************************************************/
843
844 static void
845 OpcDoPld (
846 ACPI_PARSE_OBJECT *Op)
847 {
>>> CID 1320410: Memory - illegal accesses (UNINIT)
>>> Declaring variable "Buffer" without initializer.
848 UINT8 *Buffer;
849 ACPI_PARSE_OBJECT *Node;
850 ACPI_PLD_INFO PldInfo;
851 ACPI_PARSE_OBJECT *NewOp;
852
853
________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://scan.coverity.com/projects/netbsd-amd64-user?tab=overview
To manage Coverity Scan email notifications for "coverity-updates%netbsd.org@localhost", click https://scan.coverity.com/subscriptions/edit?email=coverity-updates%40netbsd.org&token=487286ca1a9a4f4bd485d16f66b5e782
Home |
Main Index |
Thread Index |
Old Index