weechat-dev
[Top][All Lists]
Advanced

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

[Weechat-dev] [bug #16552] Ruby message handler not returning anything c


From: anonymous
Subject: [Weechat-dev] [bug #16552] Ruby message handler not returning anything causes a SEGV
Date: Mon, 8 May 2006 18:08:11 +0000
User-agent: Mozilla/5.0 (compatible; Konqueror/3.5; Linux) KHTML/3.5.2 (like Gecko)

URL:
  <http://savannah.nongnu.org/bugs/?func=detailitem&item_id=16552>

                 Summary: Ruby message handler not returning anything causes
a SEGV
                 Project: Wee Enhanced Environment for Chat
            Submitted by: None
            Submitted on: Monday 05/08/06 at 18:08 UTC
                Category: other
                Severity: 3 - Normal
              Item Group: crash
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open

    _______________________________________________________

Details:

This script crashes WeeChat when the first PRIVMSG message is received after
loading:

def weechat_init()
        Weechat.register("evil", "1.0", "", "bang boom boom, meet your
doom")
        Weechat.add_message_handler("privmsg", "evil_privmsg")
end
def evil_privmsg(server, args)
end

Adding a proper return removes the crash.






    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?func=detailitem&item_id=16552>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

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