bugWeeChat - Bugs: bug #16552, Ruby message handler not returning...

 
 

bug #16552: Ruby message handler not returning anything causes a SEGV

Submitted by:  None
Submitted on:  Mon 08 May 2006 06:08:10 PM UTC  
 
Category:  plugins Severity:  3 - Normal
Item Group:  crash Status:  Fixed
Privacy:  Public Assigned to:  Emmanuel Bouthenot <kolter>
Originator Name:  kolter Originator Email:  -email is unavailable-
Open/Closed:  Closed Release:  None
IRC nick: 

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 08 May 2006 06:08:10 PM UTC, original submission:  

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.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

 

 

Follow 7 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2006-05-08 flashcode Categoryother => plugins
2006-05-08 flashcode Assigned toNone => kolter
    Open/ClosedOpen => Closed
2006-05-08 kolter StatusNone => Fixed
2006-05-08 kolter StatusFixed => None
2006-05-08 kolter StatusNone => Fixed
    Originator Name => kolter

Back to the top


Powered by Savane 3.5