bug-parted
[Top][All Lists]
Advanced

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

[patch #5240] Incorrect exception handling in mkpart


From: Milko Krachounov
Subject: [patch #5240] Incorrect exception handling in mkpart
Date: Fri, 14 Jul 2006 17:59:58 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; bg-BG; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4

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

                 Summary: Incorrect exception handling in mkpart
                 Project: GNU Parted
            Submitted by: exabyte
            Submitted on: Friday 14/07/06 at 17:59
                Category: parted
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open

    _______________________________________________________

Details:

do_mkpart and do_mkpartfs from parted.c forget to catch the exception when
needed, and also forget the leave the responsibility for catching exceptions
in the rest of the cases, which has negative consequences.

I'm not sure if my patch follows the expected behaviour, but it points out
the bug.





    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Friday 14/07/06 at 17:59  Name: mkpart-exception.diff  Size: 1.42KB  
By: exabyte
Patch for an incorrect exception handling in do_mkpart and do_mkpartfs
<http://savannah.gnu.org/patch/download.php?file_id=10353>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/patch/?func=detailitem&item_id=5240>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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