[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Weechat-dev] [patch #6810] security fix for tcl plugin

From: anonymous
Subject: [Weechat-dev] [patch #6810] security fix for tcl plugin
Date: Tue, 21 Apr 2009 08:27:16 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv: Gecko/2009021910 Firefox/3.0.7

Follow-up Comment #1, patch #6810 (project weechat):

This patch fixes the [ ] execution issue, but raises another problem. With
the patch applied, any message that has the { or } chars end with an error if
they are unbalanced.

Testing with the following tcl script:
weechat::register "err" "" "0.1" "GPL3" "descr" "" ""
weechat::hook_modifier "irc_in_privmsg" "ircIn"
proc ircIn {modifier server text} {return $text}

e.g. a simple channel message "te{st" shows an error in weechat buffer: tcl
unable to run function "ircIn": missing close-brace: possible unbalanced brace
in comment

Another message "te}st" shows the error:
tcl unable to run function "ircIn": extra characters after close-brace


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]