Date: Mon, 4 Aug 2014 05:46:10 +0000 (UTC) From: Garrett Cooper <ngie@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r269504 - head/libexec/rtld-elf/tests Message-ID: <53df1e22.581f.3bb2e8e1@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53df1e22.581f.3bb2e8e1>