[Top][All Lists]

[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: Gecko/20060508 Firefox/


                 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



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


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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