bugWeeChat - Bugs: bug #41418, Crash when creating two bars with...

 
 

bug #41418: Crash when creating two bars with same name but different case

Submitter:  Sebastien Helleu <flashcode>
Submitted:  Sat 01 Feb 2014 08:05:14 AM UTC
   
 
Category:  core commands Severity:  3 - Normal
Priority:  5 - Normal Item Group:  crash
Status:  Fixed Privacy:  Public
Assigned to:  flashcode Originator Name: 
Open/Closed:  Closed Release:  * 0.4.2
IRC nick:  FlashCode
* Mandatory Fields

Post a Comment

Add a New Comment Rich Markup
   

Discussion

Sat 01 Feb 2014 08:05:14 AM UTC, original submission:  

When creating two bars with the same name with different case, for example "test" and "Test", WeeChat is crashing.
This is caused by case sensitive comparison when searching a bar in memory, while the config file options are case insensitive.

Example of crash:

/bar add test root bottom 1 0 time
/bar add Test root bottom 1 0 time


Sebastien Helleu <flashcode>
Group administrator

 

Attached Files

This item currently has no attached files.

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

Attach Files:
   
   
Comment:
   

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

Carbon-Copy List
  • -email is unavailable- added by flashcode (Submitted the item)
  •  

    Votes

    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.

    Only logged-in users can vote.

     

    History

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-02-09 flashcode Open/ClosedOpen Closed
    2014-02-01 flashcode StatusIn Progress Fixed
    2014-02-01 flashcode SummaryCrash when creating two bars with same name with different case Crash when creating two bars with same name but different case

    Back to the top

    Powered by Savane 3.16-11ef.
    Corresponding source code