[exim-cvs] Format String safety

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Exim Git Commits Mailing List
Date:  
À: exim-cvs
Sujet: [exim-cvs] Format String safety
Gitweb: http://git.exim.org/exim.git/commitdiff/54e3e5b64c9fa8b6f3628e200d63b028b97f4526
Commit:     54e3e5b64c9fa8b6f3628e200d63b028b97f4526
Parent:     115c008d2e1ae4c6543b569404b4d53e31a4605d
Author:     Todd Lyons <tlyons@???>
AuthorDate: Tue Oct 15 13:41:21 2013 -0700
Committer:  Todd Lyons <tlyons@???>
CommitDate: Tue Oct 15 13:41:21 2013 -0700


    Format String safety
---
 src/src/receive.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/src/src/receive.c b/src/src/receive.c
index 993d149..072fee9 100644
--- a/src/src/receive.c
+++ b/src/src/receive.c
@@ -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--; }
         }