GNU bug report logs - #38620
parted: invalid pointer

Previous Next

Package: parted;

Reported by: frederik <at> ofb.net

Date: Sun, 15 Dec 2019 07:56:01 UTC

Severity: normal

Done: "Brian C. Lane" <bcl <at> redhat.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 38620 in the body.
You can then email your comments to 38620 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-parted <at> gnu.org:
bug#38620; Package parted. (Sun, 15 Dec 2019 07:56:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to frederik <at> ofb.net:
New bug report received and forwarded. Copy sent to bug-parted <at> gnu.org. (Sun, 15 Dec 2019 07:56:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: frederik <at> ofb.net
To: bug-parted <at> gnu.org
Subject: parted: invalid pointer
Date: Sat, 14 Dec 2019 23:55:13 -0800
I'm running Arch and get a "free(): invalid pointer":

    $ parted -v
    parted (GNU parted) 3.3
    Copyright (C) 2019 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
    This is free software: you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law.

    Written by <http://git.debian.org/?p=parted/parted.git;a=blob_plain;f=AUTHORS>.

I just hit "enter" when it prompts me for the end of the partition:

    $ sudo parted /dev/sdc
    GNU Parted 3.3
    Using /dev/sdc
    Welcome to GNU Parted! Type 'help' to view a list of commands.
    (parted) p
    Model: RICOH R5U880FlashMedia (scsi)
    Disk /dev/sdc: 63.9GB
    Sector size (logical/physical): 512B/512B
    Partition Table: msdos
    Disk Flags:

    Number  Start   End     Size    Type     File system  Flags
     1      4194kB  273MB   268MB   primary  fat32        lba
     2      273MB   15.9GB  15.7GB  primary  ext4

    (parted) resizepart 2
    End?  [15.9GB]?
    free(): invalid pointer
    zsh: abort      sudo parted /dev/sdc

Thanks.




Information forwarded to bug-parted <at> gnu.org:
bug#38620; Package parted. (Mon, 16 Dec 2019 19:18:01 GMT) Full text and rfc822 format available.

Message #8 received at 38620 <at> debbugs.gnu.org (full text, mbox):

From: "Brian C. Lane" <bcl <at> redhat.com>
To: 38620-done <at> debbugs.gnu.org
Cc: 38620 <at> debbugs.gnu.org
Subject: Re: bug#38620: parted: invalid pointer
Date: Mon, 16 Dec 2019 11:17:03 -0800
On Sat, Dec 14, 2019 at 11:55:13PM -0800, frederik <at> ofb.net wrote:
> I'm running Arch and get a "free(): invalid pointer":
> 
>     $ parted -v
>     parted (GNU parted) 3.3
>     Copyright (C) 2019 Free Software Foundation, Inc.
>     License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
>     This is free software: you are free to change and redistribute it.
>     There is NO WARRANTY, to the extent permitted by law.
> 
>     Written by <http://git.debian.org/?p=parted/parted.git;a=blob_plain;f=AUTHORS>.
> 
> I just hit "enter" when it prompts me for the end of the partition:
> 
>     $ sudo parted /dev/sdc
>     GNU Parted 3.3
>     Using /dev/sdc
>     Welcome to GNU Parted! Type 'help' to view a list of commands.
>     (parted) p
>     Model: RICOH R5U880FlashMedia (scsi)
>     Disk /dev/sdc: 63.9GB
>     Sector size (logical/physical): 512B/512B
>     Partition Table: msdos
>     Disk Flags:
> 
>     Number  Start   End     Size    Type     File system  Flags
>      1      4194kB  273MB   268MB   primary  fat32        lba
>      2      273MB   15.9GB  15.7GB  primary  ext4
> 
>     (parted) resizepart 2
>     End?  [15.9GB]?
>     free(): invalid pointer
>     zsh: abort      sudo parted /dev/sdc

Thanks, that should be fixed by https://github.com/bcl/parted/commit/883813c365482d06d05a1998e066792c48156f23

which I'll push today.

-- 
Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart





Reply sent to "Brian C. Lane" <bcl <at> redhat.com>:
You have taken responsibility. (Mon, 16 Dec 2019 19:18:02 GMT) Full text and rfc822 format available.

Notification sent to frederik <at> ofb.net:
bug acknowledged by developer. (Mon, 16 Dec 2019 19:18:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 14 Jan 2020 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 157 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.