From unknown Thu Jun 19 13:59:33 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#38620 <38620@debbugs.gnu.org> To: bug#38620 <38620@debbugs.gnu.org> Subject: Status: parted: invalid pointer Reply-To: bug#38620 <38620@debbugs.gnu.org> Date: Thu, 19 Jun 2025 20:59:33 +0000 retitle 38620 parted: invalid pointer reassign 38620 parted submitter 38620 frederik@ofb.net severity 38620 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 15 02:55:21 2019 Received: (at submit) by debbugs.gnu.org; 15 Dec 2019 07:55:22 +0000 Received: from localhost ([127.0.0.1]:35969 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1igOkL-0005zV-LS for submit@debbugs.gnu.org; Sun, 15 Dec 2019 02:55:21 -0500 Received: from lists.gnu.org ([209.51.188.17]:54341) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1igOkJ-0005zJ-Kc for submit@debbugs.gnu.org; Sun, 15 Dec 2019 02:55:20 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:55232) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1igOkI-0005vJ-2k for bug-parted@gnu.org; Sun, 15 Dec 2019 02:55:19 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1igOkG-0006Tj-Mp for bug-parted@gnu.org; Sun, 15 Dec 2019 02:55:17 -0500 Received: from egnor-li.ofb.net ([2600:3c01:e000:283::1]:43970) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1igOkG-0006QP-90 for bug-parted@gnu.org; Sun, 15 Dec 2019 02:55:16 -0500 Received: from ofb.net (163.242.197.104.bc.googleusercontent.com [104.197.242.163]) by egnor-li.ofb.net (Postfix) with ESMTP id 5852F117F5F for ; Sun, 15 Dec 2019 07:55:14 +0000 (UTC) Received: from localhost.localdomain (unknown [135.180.116.208]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by ofb.net (Postfix) with ESMTPSA id 1916C3E892; Sat, 14 Dec 2019 23:55:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ofb.net; s=ofb; t=1576396514; bh=vxN+ohHxELZ5eHGtIj+f8NH+bqDYZrB7Cxh0coCx1Bo=; h=Date:From:To:Subject:Reply-To:From; b=K+YIoWHLTFHgJTlPhYFa8YqAGpCTVrpZKxlrNXYwmMfrPazqHAXC6lEEfOVUBOmEr hKN/+or7KgSgjoo4HnuQiRkZSnIf6pA3avWmNRojD2s44zJmNVBhIRRdN1aEIyeLZX vQHOvHbrXOoXrUbLuoYzyITCeYmx5KEE3Oz586vTAb2Y72lmaWNwxn9UdzuELDtSi9 VZRFqmIq7k2vd92Id5CDiCI3yu9aw5txWxShQWSU7YRzzm89fr1dIeWZ/S5b1zhnnh zdX3OPPym5fs4gkZZj3/f6gn19+goE1/FB536OY+kalnAwzKIWk1sjogDGBfNMwV4y rKFVV62Eystsw== Received: from frederik by localhost.localdomain with local (Exim 4.92.3) (envelope-from ) id 1igOkD-000hm1-GT; Sat, 14 Dec 2019 23:55:13 -0800 Date: Sat, 14 Dec 2019 23:55:13 -0800 From: frederik@ofb.net To: bug-parted@gnu.org Subject: parted: invalid pointer Message-ID: <20191215075513.pffgtk4jdmnbglja@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2600:3c01:e000:283::1 X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: frederik@ofb.net Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) 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 . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by . 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. From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 16 14:17:13 2019 Received: (at 38620) by debbugs.gnu.org; 16 Dec 2019 19:17:13 +0000 Received: from localhost ([127.0.0.1]:40367 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1igvrk-0000iv-N9 for submit@debbugs.gnu.org; Mon, 16 Dec 2019 14:17:12 -0500 Received: from us-smtp-delivery-1.mimecast.com ([205.139.110.120]:23666 helo=us-smtp-1.mimecast.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1igvri-0000ih-OB for 38620@debbugs.gnu.org; Mon, 16 Dec 2019 14:17:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1576523830; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=I7sl+NTOOPBq+NFt/23GUUayFQWpPhx8x9CCl8Y2q+c=; b=ETBT+oA3YzXAbXhg6vXb+KuNZZREo5NgNh6oh7cOvMWJucLuBuNavEau3rjBjdDqGNmluF VDettRPSK8WGdv9PQZAHxky06DGcLHSrc4w9GtGodgKfA8jk25//J1paMjxSKfpv7V2WO6 MAjMimRqpCu6ckEHlL8D24VVRtjHUMM= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-236-pWFxOaNUO0eL2rtA8AZg6w-1; Mon, 16 Dec 2019 14:17:08 -0500 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 256461800D7B; Mon, 16 Dec 2019 19:17:07 +0000 (UTC) Received: from lister.brianlane.com (ovpn-112-23.phx2.redhat.com [10.3.112.23]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 90B7E1001B35; Mon, 16 Dec 2019 19:17:06 +0000 (UTC) Date: Mon, 16 Dec 2019 11:17:03 -0800 From: "Brian C. Lane" To: 38620-done@debbugs.gnu.org Subject: Re: bug#38620: parted: invalid pointer Message-ID: <20191216191703.GB62501@lister.brianlane.com> References: <20191215075513.pffgtk4jdmnbglja@localhost> MIME-Version: 1.0 In-Reply-To: <20191215075513.pffgtk4jdmnbglja@localhost> X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-MC-Unique: pWFxOaNUO0eL2rtA8AZg6w-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 38620 Cc: 38620@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) On Sat, Dec 14, 2019 at 11:55:13PM -0800, frederik@ofb.net wrote: > I'm running Arch and get a "free(): invalid pointer": >=20 > $ parted -v > parted (GNU parted) 3.3 > Copyright (C) 2019 Free Software Foundation, Inc. > License GPLv3+: GNU GPL version 3 or later . > This is free software: you are free to change and redistribute it. > There is NO WARRANTY, to the extent permitted by law. >=20 > Written by . >=20 > I just hit "enter" when it prompts me for the end of the partition: >=20 > $ 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: >=20 > Number Start End Size Type File system Flags > 1 4194kB 273MB 268MB primary fat32 lba > 2 273MB 15.9GB 15.7GB primary ext4 >=20 > (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/883813= c365482d06d05a1998e066792c48156f23 which I'll push today. --=20 Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart From unknown Thu Jun 19 13:59:33 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 14 Jan 2020 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator