EFbuild.c:1330 ASSERT(nn) added
ASSERT(nn) added to indicate programming intention. SonarCloud Access to field 'efnn_node' results in a dereference of a null pointer (loaded from variable 'nn') https://sonarcloud.io/project/issues?open=AZJB168PNGfDNup0RjKF&id=dlmiles_magic
This commit is contained in:
parent
fcb8bf57c6
commit
db85521449
|
|
@ -1328,6 +1328,7 @@ efBuildDevNode(def, name, isSubsNode)
|
||||||
(char *) NULL, (char **) NULL, 0);
|
(char *) NULL, (char **) NULL, 0);
|
||||||
|
|
||||||
nn = (EFNodeName *) HashGetValue(he);
|
nn = (EFNodeName *) HashGetValue(he);
|
||||||
|
ASSERT(nn, "nn");
|
||||||
isNewNode = TRUE;
|
isNewNode = TRUE;
|
||||||
}
|
}
|
||||||
if (isSubsNode || (nn->efnn_node->efnode_flags & EF_GLOB_SUBS_NODE))
|
if (isSubsNode || (nn->efnn_node->efnode_flags & EF_GLOB_SUBS_NODE))
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue