Fix a -Wsecurity warning with clang
Phabric: D525 (part of a larger patch) Reviewed by: jmmv Approved by: jmmv (co-mentor)
This commit is contained in:
parent
b396ce44d5
commit
5911324544
@ -79,7 +79,7 @@ ATF_TC_BODY(bad_library_directories, tc)
|
||||
char *pathfds;
|
||||
|
||||
setup(&files, tc);
|
||||
ATF_REQUIRE(asprintf(&pathfds, "::", files.etc) > 0);
|
||||
ATF_REQUIRE(asprintf(&pathfds, "LD_LIBRARY_PATH_FDS=::") > 0);
|
||||
|
||||
expect_missing_library(files.binary, pathfds);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user