URL:
  <http://gna.org/bugs/?11226>

                 Summary: segfaults when changing network game name
                 Project: Wormux
            Submitted by: eddyp
            Submitted on: Sunday 03/09/2008 at 10:19
                Category: Mem Leaks
                Severity: 5 - Blocker
                Priority: 9 - Immediate
                  Status: None
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
                 Release: 0.8svn
         Discussion Lock: Any

    _______________________________________________________

Details:

When trying to change the game name, when the last remaining letter of the
default name is erased, wormux segfaults.

Probably some boundry check is missing in TextBox::Draw.

(gdb) thread apply all bt

Thread 1 (process 14722):
#0  0x0000000000452163 in Surface::GetSize ()
#1  0x00000000004537f3 in Text::DrawTopLeft ()
#2  0x000000000045d637 in Label::Draw ()
#3  0x000000000046bb49 in TextBox::Draw ()
#4  0x000000000046ce3c in Widget::Update ()
#5  0x000000000046d4b3 in WidgetList::Update ()
#6  0x000000000045770a in Box::Update ()
#7  0x000000000046d4b3 in WidgetList::Update ()
#8  0x00000000004b10e9 in Menu::Display ()
#9  0x00000000004b14d1 in Menu::Run ()
#10 0x000000000047b140 in AppWormux::Main ()
#11 0x000000000047b4bb in main ()


Core is not attached since is too big.

Severity is set to blocker since we can't release the next release with this
bug.




    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?11226>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Wormux-gna mailing list
[email protected]
https://mail.gna.org/listinfo/wormux-gna

Reply via email to