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: pluginsSeverity: 3 - Normal
Item Group: crashStatus: Fixed
Privacy: PublicAssigned to: Emmanuel Bouthenot <kolter>
Originator Name: kolterOriginator Email: -unavailable-
Open/Closed: ClosedRelease: 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 File(s):
   
   
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 click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 7 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Mon 08 May 2006 11:06:09 PM UTCflashcodeCategoryother=>plugins
Mon 08 May 2006 10:39:07 PM UTCflashcodeAssigned toNone=>kolter
  Open/ClosedOpen=>Closed
Mon 08 May 2006 08:38:40 PM UTCkolterStatusNone=>Fixed
Mon 08 May 2006 08:38:16 PM UTCkolterStatusFixed=>None
Mon 08 May 2006 08:37:47 PM UTCkolterStatusNone=>Fixed
  Originator Name=>kolter

Back to the top


Powered by Savane 3.1-cleanup1