Task #52588 - fixed.err
back to task #52588download
Error: GCC_ANALYZER_WARNING (CWE-688): sscg-3.0.5/redhat-linux-build/../src/dhparams.c:111:41: warning[-Wanalyzer-null-argument]: use of NULL ‘names’ where non-null expected sscg-3.0.5/redhat-linux-build/../src/dhparams.c:91:10: branch_false: following ‘false’ branch... <unknown>: branch_false: ...to here sscg-3.0.5/redhat-linux-build/../src/dhparams.c:101:10: branch_false: following ‘false’ branch... sscg-3.0.5/redhat-linux-build/../src/dhparams.c:111:41: branch_false: ...to here sscg-3.0.5/redhat-linux-build/../src/dhparams.c:111:41: danger: argument 1 (‘names’) NULL where non-null expected #argument 1 of ‘__builtin_strlen’ must be non-null # 109| # 110| /* Truncate the last ", " */ # 111|-> names = talloc_strndup (names, names, strlen (names) - 2); # 112| if (!names) # 113| goto done;