Skip to content

Commit cdee736

Browse files
authored
add codeql suppression and explanation (#670)
1 parent 51d658e commit cdee736

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ssh-sk.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ sshsk_open(const char *path)
133133
goto fail;
134134
#endif
135135
}
136-
if ((ret->dlhandle = dlopen(path, RTLD_NOW)) == NULL) {
136+
if ((ret->dlhandle = dlopen(path, RTLD_NOW)) == NULL) { // CodeQL [SM01925]: upstream code that permits user input to specify external provider is by design, but only accessible via CLI parameter
137137
error("Provider \"%s\" dlopen failed: %s", path, dlerror());
138138
goto fail;
139139
}

0 commit comments

Comments
 (0)