From d8425e116cdd954fea0c04c0f406179b5daebbb3 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Wed, 11 Oct 2017 07:07:51 +0200 Subject: nss_files: Avoid large buffers with many host addresses [BZ #22078] The previous implementation had at least a quadratic space requirement in the number of host addresses and aliases. --- nss/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'nss/Makefile') diff --git a/nss/Makefile b/nss/Makefile index f27bed11fc..26952112c1 100644 --- a/nss/Makefile +++ b/nss/Makefile @@ -63,6 +63,7 @@ xtests = bug-erange # Tests which need libdl ifeq (yes,$(build-shared)) tests += tst-nss-files-hosts-erange +tests += tst-nss-files-hosts-multi endif # If we have a thread library then we can test cancellation against @@ -167,3 +168,4 @@ $(objpfx)tst-cancel-getpwuid_r: $(shared-thread-library) endif $(objpfx)tst-nss-files-hosts-erange: $(libdl) +$(objpfx)tst-nss-files-hosts-multi: $(libdl) -- cgit 1.4.1