diff options
author | Florian Weimer <fweimer@redhat.com> | 2018-08-14 10:52:06 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2018-08-14 10:52:06 +0200 |
commit | e95c6f61920a0f9237cfb292fa44ad500e1df09b (patch) | |
tree | 5e0b22cbbb895a01a8a92741929be1051d752c95 /nss/Makefile | |
parent | 2d7acfac3ebf266dcbc82d0d6cc576f626953a03 (diff) | |
download | glibc-e95c6f61920a0f9237cfb292fa44ad500e1df09b.zip glibc-e95c6f61920a0f9237cfb292fa44ad500e1df09b.tar.gz glibc-e95c6f61920a0f9237cfb292fa44ad500e1df09b.tar.bz2 |
nss_files: Fix file stream leak in aliases lookup [BZ #23521]
In order to get a clean test case, it was necessary to fix partially
fixed bug 23522 as well.
Diffstat (limited to 'nss/Makefile')
-rw-r--r-- | nss/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nss/Makefile b/nss/Makefile index 66fac7f..5209fc0 100644 --- a/nss/Makefile +++ b/nss/Makefile @@ -65,6 +65,7 @@ ifeq (yes,$(build-shared)) tests += tst-nss-files-hosts-erange tests += tst-nss-files-hosts-multi tests += tst-nss-files-hosts-getent +tests += tst-nss-files-alias-leak endif # If we have a thread library then we can test cancellation against @@ -171,3 +172,5 @@ endif $(objpfx)tst-nss-files-hosts-erange: $(libdl) $(objpfx)tst-nss-files-hosts-multi: $(libdl) $(objpfx)tst-nss-files-hosts-getent: $(libdl) +$(objpfx)tst-nss-files-alias-leak: $(libdl) +$(objpfx)tst-nss-files-alias-leak.out: $(objpfx)/libnss_files.so |