Track tainted data and refuse to expand it
[exim.git] / src / src / auths / xtextencode.c
index 2c00c4a3d907c3ae8f2bcf791f39cd45f53a2a7b..30ff8f11ddb039401f34d74c1e2ccfea0e1210ff 100644 (file)
@@ -40,7 +40,7 @@ in order to get the right amount of store. */
 while (c -- > 0)
   count += ((x = *p++) < 33 || x > 127 || x == '+' || x == '=')? 3 : 1;
 
-pp = code = store_get(count);
+pp = code = store_get(count, is_tainted(clear));
 
 p = US clear;
 c = len;