Convert more cases of list-walking to use self-assigned memory for the list-item
[exim.git] / src / src / exim.c
index 60a44bb09c8025621ed382fa19921e69cfdbda34..8f33bde2642b0a873bfdc479d83432b04c6c1e8d 100644 (file)
@@ -2373,6 +2373,7 @@ on the second character (the one after '-'), to save some effort. */
       int len = Ustrlen(ALT_CONFIG_PREFIX);
       const uschar *list = argrest;
       uschar *filename;
+      /* The argv is untainted, so big_buffer (also untainted) is ok to use */
       while((filename = string_nextinlist(&list, &sep, big_buffer,
              big_buffer_size)))
         if (  (  Ustrlen(filename) < len