Format String safety
authorTodd Lyons <tlyons@exim.org>
Tue, 15 Oct 2013 20:41:21 +0000 (13:41 -0700)
committerTodd Lyons <tlyons@exim.org>
Tue, 15 Oct 2013 20:41:21 +0000 (13:41 -0700)
src/src/receive.c

index 993d149177f8eeb403590bd85ec2b19b32fa46ba..072fee9f1f27aaf4fe50541e1ee17e94d3f5ba69 100644 (file)
@@ -3312,7 +3312,7 @@ else
          }
        if (log_msg)       log_write(0, LOG_MAIN, "PRDR %s %s", addr, log_msg);
        else if (user_msg) log_write(0, LOG_MAIN, "PRDR %s %s", addr, user_msg);
-       else               log_write(0, LOG_MAIN, CS msg);
+       else               log_write(0, LOG_MAIN, "%s", CS msg);
 
        if (rc != OK) { receive_remove_recipient(addr); c--; }
         }