svn commit: r269504 - head/libexec/rtld-elf/tests
Garrett Cooper
ngie at FreeBSD.org
Mon Aug 4 05:46:10 UTC 2014
Author: ngie
Date: Mon Aug 4 05:46:10 2014
New Revision: 269504
URL: http://svnweb.freebsd.org/changeset/base/269504
Log:
Fix a -Wsecurity warning with clang
Phabric: D525 (part of a larger patch)
Reviewed by: jmmv
Approved by: jmmv (co-mentor)
Modified:
head/libexec/rtld-elf/tests/ld_library_pathfds.c
Modified: head/libexec/rtld-elf/tests/ld_library_pathfds.c
==============================================================================
--- head/libexec/rtld-elf/tests/ld_library_pathfds.c Mon Aug 4 05:45:09 2014 (r269503)
+++ head/libexec/rtld-elf/tests/ld_library_pathfds.c Mon Aug 4 05:46:10 2014 (r269504)
@@ -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);
}
More information about the svn-src-all
mailing list