summaryrefslogtreecommitdiff
path: root/src/perl
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2000-12-19 17:48:42 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2000-12-19 17:48:42 +0000
commit06a6428d833c3242e45e09e1bafb1f06f478fb2b (patch)
tree4fdf574b1e22d19cb17146858bbe69e152147215 /src/perl
parent99b29df17cc89eaa10a7eb6ad6b8328a19445501 (diff)
downloadirssi-06a6428d833c3242e45e09e1bafb1f06f478fb2b.zip
security fixes from 0.7.97.2
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1017 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/perl')
-rw-r--r--src/perl/common/Window.xs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/perl/common/Window.xs b/src/perl/common/Window.xs
index 8d7b31b3..540378b0 100644
--- a/src/perl/common/Window.xs
+++ b/src/perl/common/Window.xs
@@ -31,14 +31,14 @@ print(str, level=MSGLEVEL_CLIENTNOTICE)
char *str
int level;
CODE:
- printtext(NULL, NULL, level, str);
+ printtext(NULL, NULL, level, "%s", str);
void
print_window(str, level=MSGLEVEL_CLIENTNOTICE)
char *str
int level;
CODE:
- printtext_window(active_win, level, str);
+ printtext_window(active_win, level, "%s", str);
void
command(cmd, server=active_win->active_server, item=active_win->active)
@@ -108,7 +108,7 @@ print(server, channel, str, level)
char *str
int level
CODE:
- printtext(server, channel, level, str);
+ printtext(server, channel, level, "%s", str);
Irssi::Windowitem
window_item_find(server, name)
@@ -277,4 +277,4 @@ print(item, str, level=MSGLEVEL_CLIENTNOTICE)
int level
char *str
CODE:
- printtext(item->server, item->name, level, str);
+ printtext(item->server, item->name, level, "%s", str);