diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2006-01-08 00:07:24 +0000 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2006-01-08 00:07:24 +0000 |
commit | dd39ac243273052609e5f3ee6a5217f07e06402d (patch) | |
tree | b31fad3f06eff2329dbb23149a3cb26d7272cdee /src/plugins/scripts/perl | |
parent | 05456cc54e80e813b15850ee4ba7e5aa277f44fd (diff) | |
download | weechat-dd39ac243273052609e5f3ee6a5217f07e06402d.zip |
Fixed infobar_printf interface function, security problem with string format
Diffstat (limited to 'src/plugins/scripts/perl')
-rw-r--r-- | src/plugins/scripts/perl/weechat-perl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/scripts/perl/weechat-perl.c b/src/plugins/scripts/perl/weechat-perl.c index 7f7c8ccff..b61d38031 100644 --- a/src/plugins/scripts/perl/weechat-perl.c +++ b/src/plugins/scripts/perl/weechat-perl.c @@ -328,6 +328,7 @@ static XS (XS_weechat_print_infobar) perl_plugin->infobar_printf (perl_plugin, SvIV (ST (0)), + "%s", SvPV (ST (1), integer)); XSRETURN_YES; |