dotgnu-pnet
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pnet-developers] [bug #13133] Stack overflow exception in SetBoundsCore


From: Heiko Weiss
Subject: [Pnet-developers] [bug #13133] Stack overflow exception in SetBoundsCore
Date: Fri, 20 May 2005 10:02:12 +0000
User-agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)

URL:
  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=13133>

                 Summary: Stack overflow exception in SetBoundsCore
                 Project: DotGNU Portable.NET
            Submitted by: brubbel
            Submitted on: Fre 20.05.2005 um 10:02
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open

    _______________________________________________________

Details:

if U override the SetBoundsCore method in Control.cs and U set e.G. the
Height of the control, U get a stack overflow  exception, because Control.cs
calls SetBoundsCore again recursivly.

Control.cs must check if the value is changed and if no change was made,
don't call SetBoundsCore again.

I just made a patch. See atachement.





    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Fre 20.05.2005 um 10:02  Name: brubbel-050520.patch  Size: 1,95KB   By:
brubbel
patch Control.cs
<http://savannah.gnu.org/bugs/download.php?item_id=13133&item_file_id=2520>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=13133>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.gnu.org/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]