Skip to content

Commit 8283cf1

Browse files
authored
Suppress code scan warning (#20)
1 parent f0dd53c commit 8283cf1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/etwtrace/_vsinstrument.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ static int vsinstrument_exec(PyObject *m)
322322
return -1;
323323
}
324324

325-
state->hModule = LoadLibraryW(path);
325+
state->hModule = LoadLibraryW(path); // CodeQL [SM01925]: Intentionally loading from env var
326326
PyMem_Free(path);
327327
if (!state->hModule) {
328328
PyErr_SetFromWindowsErr(0);

0 commit comments

Comments
 (0)