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:  Severity: 
Item Group:  Status: 
Privacy:  Assigned to: kolter
Originator Name:  Originator Email:  *-email is unavailable-
Open/Closed: Closed Release:  *
IRC nick: 
Summary: 
* Mandatory Fields

Add a New Comment (Rich Markup)
   

Comment Type & Canned Response:
        No canned response available   (Or define a new Canned Response)

 

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

 

Search an item (to fill a dependency against):
   
Of     of  

Depends on the following items: None found

Items that depend on this one: None found

 

(Note: for Savannah users, you can use their login name rather than their email addresses.)


      

   

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.


    / 100 remaining votes

 

 

 

 

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