Proxy: Avoid ldb_modify failed error #2831
analyze-target.yml
on: pull_request_target
All tests are successful
0s
Annotations
3 errors and 1 warning
NEGATIVE_RETURNS (CWE-394):
src/util/files.c#L479
:Error: NEGATIVE_RETURNS (CWE-394):
sssd-pr6901/src/util/files.c:468: negative_return_fn: Function "openat(dest_dir_fd, file_name, 131265, 0)" returns a negative number. [Note: The source code implementation of the function has been overridden by a user model.]
sssd-pr6901/src/util/files.c:468: assign: Assigning: "ofd" = "openat(dest_dir_fd, file_name, 131265, 0)".
sssd-pr6901/src/util/files.c:479: negative_returns: "ofd" is passed to a parameter that cannot be negative.
# 477| }
# 478|
# 479|-> ret = copy_file_contents(ifd, ofd, statp->st_mode, uid, gid);
# 480| if (ret != EOK) goto done;
# 481|
|
covscan
Process completed with exit code 1.
|
All tests are successful
Process completed with exit code 1.
|
cppcheck
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
covscan
Expired
|
630 Bytes |
|