From ca3f1a3b79eb873ff01eb55959799487f6cc9936 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Wed, 11 Apr 2001 00:09:05 +0000 Subject: Mapfile fix from Bart: dupstring parameter name to avoid static buffer overuse --- Src/Modules/mapfile.c | 1 + 1 file changed, 1 insertion(+) (limited to 'Src/Modules/mapfile.c') diff --git a/Src/Modules/mapfile.c b/Src/Modules/mapfile.c index bed98da2b..586e4a24e 100644 --- a/Src/Modules/mapfile.c +++ b/Src/Modules/mapfile.c @@ -318,6 +318,7 @@ scanpmmapfile(HashTable ht, ScanFunc func, int flags) * we always read the entire contents of every single file * in the directory into memory. Hence just leave it empty. */ + pm.nam = dupstring(pm.nam); pm.u.str = ""; func((HashNode) &pm, flags); } -- cgit 1.4.1