Fix format string bug, see http://www.guninski.com/sylph.html for more.
Submitted by: trevor Found by: Georgi Guninski <guninski@guninski.com>
This commit is contained in:
parent
9f16e781c9
commit
aaf2f236f0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=91964
4 changed files with 26 additions and 0 deletions
|
@ -7,6 +7,7 @@
|
|||
|
||||
PORTNAME= sylpheed-claws
|
||||
PORTVERSION= 0.9.6
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= mail news ipv6
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= sylpheed-claws
|
||||
|
|
12
mail/claws-mail/files/patch-format_string_fix
Normal file
12
mail/claws-mail/files/patch-format_string_fix
Normal file
|
@ -0,0 +1,12 @@
|
|||
diff -u -r1.18 -r1.19
|
||||
--- src/send_message.c 2003/09/27 21:01:26 1.18
|
||||
+++ src/send_message.c 2003/10/03 17:39:39 1.19
|
||||
@@ -608,7 +608,7 @@
|
||||
if (log_msg)
|
||||
log_warning("%s\n", log_msg);
|
||||
if (err_msg) {
|
||||
- alertpanel_error_log(err_msg);
|
||||
+ alertpanel_error_log("%s", err_msg);
|
||||
g_free(err_msg);
|
||||
}
|
||||
}
|
|
@ -7,6 +7,7 @@
|
|||
|
||||
PORTNAME= sylpheed-claws
|
||||
PORTVERSION= 0.9.6
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= mail news ipv6
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= sylpheed-claws
|
||||
|
|
12
mail/sylpheed-claws/files/patch-format_string_fix
Normal file
12
mail/sylpheed-claws/files/patch-format_string_fix
Normal file
|
@ -0,0 +1,12 @@
|
|||
diff -u -r1.18 -r1.19
|
||||
--- src/send_message.c 2003/09/27 21:01:26 1.18
|
||||
+++ src/send_message.c 2003/10/03 17:39:39 1.19
|
||||
@@ -608,7 +608,7 @@
|
||||
if (log_msg)
|
||||
log_warning("%s\n", log_msg);
|
||||
if (err_msg) {
|
||||
- alertpanel_error_log(err_msg);
|
||||
+ alertpanel_error_log("%s", err_msg);
|
||||
g_free(err_msg);
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue