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
Put file-creating fopen() calls in content-scanning code in a wrapper
[exim.git]
/
src
/
src
/
malware.c
diff --git
a/src/src/malware.c
b/src/src/malware.c
index bdf3348d5b0d62b1d418dc2ffaa80630c12909ac..7e3c587c971d1d4a7a329b6d4712072c4fb13845 100644
(file)
--- a/
src/src/malware.c
+++ b/
src/src/malware.c
@@
-1,4
+1,4
@@
-/* $Cambridge: exim/src/src/malware.c,v 1.1
3 2005/08/02 18:24:14 tom
Exp $ */
+/* $Cambridge: exim/src/src/malware.c,v 1.1
4 2006/02/22 14:46:44 ph10
Exp $ */
/*************************************************
* Exim - an Internet mail transport agent *
/*************************************************
* Exim - an Internet mail transport agent *
@@
-873,7
+873,7
@@
int malware(uschar **listptr) {
};
(void)string_format(file_name,1024,"%s/scan/%s/%s_scanner_output", spool_directory, message_id, message_id);
};
(void)string_format(file_name,1024,"%s/scan/%s/%s_scanner_output", spool_directory, message_id, message_id);
- scanner_record =
fopen(CS file_name,"wb"
);
+ scanner_record =
modefopen(file_name,"wb",SPOOL_MODE
);
if (scanner_record == NULL) {
log_write(0, LOG_MAIN|LOG_PANIC,
if (scanner_record == NULL) {
log_write(0, LOG_MAIN|LOG_PANIC,