git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Debug: build a summary string tracking transport SMTP commands & responses
[exim.git]
/
src
/
src
/
regex.c
diff --git
a/src/src/regex.c
b/src/src/regex.c
index 2b3e308a2b9372b3eafd513fd9d72d1a1a3ec1b5..c1acf4c6e9d7e2c59f50a5e38568f0592cda354e 100644
(file)
--- a/
src/src/regex.c
+++ b/
src/src/regex.c
@@
-55,7
+55,7
@@
while ((regex_string = string_nextinlist(&list, &sep, NULL, 0)))
continue;
}
continue;
}
- ri = store_get(sizeof(pcre_list),
FALSE
);
+ ri = store_get(sizeof(pcre_list),
GET_UNTAINTED
);
ri->re = re;
ri->pcre_text = regex_string;
ri->next = re_list_head;
ri->re = re;
ri->pcre_text = regex_string;
ri->next = re_list_head;
@@
-133,7
+133,7
@@
if (!(re_list_head = compile(*listptr)))
return FAIL; /* no regexes -> nothing to do */
/* match each line against all regexes */
return FAIL; /* no regexes -> nothing to do */
/* match each line against all regexes */
-linebuffer = store_get(32767,
TRUE); /* tainted */
+linebuffer = store_get(32767,
GET_TAINTED);
while (fgets(CS linebuffer, 32767, mbox_file))
{
if ( mime_stream && mime_current_boundary /* check boundary */
while (fgets(CS linebuffer, 32767, mbox_file))
{
if ( mime_stream && mime_current_boundary /* check boundary */
@@
-204,7
+204,7
@@
if (!(f = fopen(CS mime_decoded_filename, "rb")))
}
/* get 32k memory, tainted */
}
/* get 32k memory, tainted */
-mime_subject = store_get(32767,
TRUE
);
+mime_subject = store_get(32767,
GET_TAINTED
);
mime_subject_len = fread(mime_subject, 1, 32766, f);
mime_subject_len = fread(mime_subject, 1, 32766, f);