summaryrefslogtreecommitdiffstats
path: root/main/irssi/irssi-0.8.16-format-security.patch
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2014-04-25 11:22:24 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2014-04-25 11:23:41 +0000
commit85fca3b79a5d49553b451db15bcdd875ecc878db (patch)
tree20ba845205ed5b008c8fdddec4b3d632dda6c35c /main/irssi/irssi-0.8.16-format-security.patch
parent268f8951c20fffc555242928f6e34e5563a68e67 (diff)
downloadaports-85fca3b79a5d49553b451db15bcdd875ecc878db.tar.bz2
aports-85fca3b79a5d49553b451db15bcdd875ecc878db.tar.xz
main/irssi: upgrade to 0.8.16_rc1 and split perl (again)
Diffstat (limited to 'main/irssi/irssi-0.8.16-format-security.patch')
-rw-r--r--main/irssi/irssi-0.8.16-format-security.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/main/irssi/irssi-0.8.16-format-security.patch b/main/irssi/irssi-0.8.16-format-security.patch
new file mode 100644
index 000000000..34fca6cce
--- /dev/null
+++ b/main/irssi/irssi-0.8.16-format-security.patch
@@ -0,0 +1,22 @@
+diff --git a/src/core/network.c b/src/core/network.c
+index d7c1017..5954d1f 100644
+--- a/src/core/network.c
++++ b/src/core/network.c
+@@ -356,7 +356,7 @@ int net_receive(GIOChannel *handle, char *buf, int len)
+
+ status = g_io_channel_read_chars(handle, buf, len, &ret, &err);
+ if (err != NULL) {
+- g_warning(err->message);
++ g_warning("%s", err->message);
+ g_error_free(err);
+ }
+ if (status == G_IO_STATUS_ERROR || status == G_IO_STATUS_EOF)
+@@ -377,7 +377,7 @@ int net_transmit(GIOChannel *handle, const char *data, int len)
+
+ status = g_io_channel_write_chars(handle, (char *) data, len, &ret, &err);
+ if (err != NULL) {
+- g_warning(err->message);
++ g_warning("%s", err->message);
+ g_error_free(err);
+ }
+ if (status == G_IO_STATUS_ERROR)