GNU bug report logs - #77265
diffutils-3.11: realloc(): invalid next size

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: diffutils; Reported by: George R Goffe <grgoffe@HIDDEN>; merged with #76613; Done: Paul Eggert <eggert@HIDDEN>; Maintainer for diffutils is bug-diffutils@HIDDEN.
Merged 76613 77265. Request was from Paul Eggert <eggert@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
bug closed, send any further explanations to 77265 <at> debbugs.gnu.org and George R Goffe <grgoffe@HIDDEN> Request was from Paul Eggert <eggert@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 77265 <at> debbugs.gnu.org:


Received: (at 77265) by debbugs.gnu.org; 26 Mar 2025 02:58:18 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Mar 25 22:58:18 2025
Received: from localhost ([127.0.0.1]:40663 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1txGy9-0002bc-MM
	for submit <at> debbugs.gnu.org; Tue, 25 Mar 2025 22:58:18 -0400
Received: from mail-pj1-f51.google.com ([209.85.216.51]:51258)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <meyering@HIDDEN>)
 id 1txGy6-0002bL-9T
 for 77265 <at> debbugs.gnu.org; Tue, 25 Mar 2025 22:58:15 -0400
Received: by mail-pj1-f51.google.com with SMTP id
 98e67ed59e1d1-301c4850194so9250436a91.2
 for <77265 <at> debbugs.gnu.org>; Tue, 25 Mar 2025 19:58:14 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1742957888; x=1743562688;
 h=content-transfer-encoding:cc:to:subject:message-id:date:from
 :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc
 :subject:date:message-id:reply-to;
 bh=BOHSv0KdXBzPBWbVPR+44VVOW4nNODSPBxCAduceKQE=;
 b=Btak+PYS59mr/ZpQythDh04/TNrdSzcZzcKTVuWD3WF8+CSEq4KcWejjv9+vbJKpVZ
 oNaVJZ6LzXYoxvWuM92GDLOcG3Ezi2Vs6FhkWaHw7aye4eptSppIAYhXwIZEC6P0fVdm
 tCu3FjND7m9mBlYvH6k9LEVzQAtr7NKL1SZr/jMi2mIJ+XwX3Pw/o4rPa/LRY9h1BEqh
 AvtaGMLMGi4u9x7YrMO/ixFXv1xeYL5yuZoiudRwfFlPkrcSHhJtOBPJKdCTALXdRrTI
 gxlX/Si5p7u/iPYc6etmLB2PNFbIWUgHnYs1QNZUgro1rkxDM2gCHo/K0Ka+e27SNrkJ
 UvpQ==
X-Gm-Message-State: AOJu0YyXK4tKrdHXRZ5Z+XUaHyfCwEF3vWCcU7cQupWNwnDfTCyo+3zA
 MVBWNHNVn5mzm7msOPYUXRraGB4gFSiv47iycoCU0e4QH9vuSU2w0LRLzZqXEMWgenulZDG12KP
 to7LPEclVtZvq01PhwyeILCvyRgA=
X-Gm-Gg: ASbGncsSxsEMCXkWFJr8Tm6X5n7xPG/FlWNlkX7gFfBV1whgHegZDrqKj1F3rOlMK/H
 XhNy9y/vKHLD8VAVVUGV5ODUDkFV+ipiGTHxiNPVIcHA9PQ1lewE1uMV6z/pgUBWHmJPEALpvzz
 6jcjOImuRoo52nnqjQsfzYP2BSacKvSGNnAcSwZodzrg==
X-Google-Smtp-Source: AGHT+IH+fUUDM6xcxcKhl7o4KC2mh/UR0OS0AdUdQWPT4zLrkaISVmQX0tamCL/H1JmxolNjiUoKskiLs9wEjS4iWSY=
X-Received: by 2002:a17:90b:28c4:b0:2fe:a742:51b0 with SMTP id
 98e67ed59e1d1-3031002af0fmr30038304a91.31.1742957888055; Tue, 25 Mar 2025
 19:58:08 -0700 (PDT)
MIME-Version: 1.0
References: <1123209731.1859946.1742941850104.ref@HIDDEN>
 <1123209731.1859946.1742941850104@HIDDEN>
In-Reply-To: <1123209731.1859946.1742941850104@HIDDEN>
From: Jim Meyering <jim@HIDDEN>
Date: Tue, 25 Mar 2025 19:57:55 -0700
X-Gm-Features: AQ5f1Jp_Q--aw8TCqeSX_Q3P44a_iF8gUdw7Uj66GDmJ3uy288ZLAaEzh07_hR8
Message-ID: <CA+8g5KGuJwL72vRaf+Gpsi9-NhKOE=VwF1OVSfQtR5COFBU5tw@HIDDEN>
Subject: Re: [bug-diffutils] bug#77265: diffutils-3.11: realloc(): invalid
 next size
To: George R Goffe <grgoffe@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 77265
Cc: 77265 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

merge 77265 76613
stop

On Tue, Mar 25, 2025 at 6:43=E2=80=AFPM George R Goffe via bug-diffutils vi=
a
All diffutils discussion. <bug-diffutils@HIDDEN> wrote:
> I have run diffutils-3.10/src/sdiff with NO problems. With diffutils-3.11=
/src/sdiff I get the following:
>
> /tools/diffutils/diffutils-3.11/src# ./sdiff -w 111 mkc mkconfig
> realloc(): invalid next size
> Aborted                    (core dumped) ./sdiff -w 111 mkc mkconfig

Thanks for the report. This was fixed via
https://git.savannah.gnu.org/cgit/diffutils.git/commit/?id=3Dv3.11-7-ge9f8e=
6a
for <https://bugs.gnu.org/76613>, so I'm merging your report into that
one.




Information forwarded to bug-diffutils@HIDDEN:
bug#77265; Package diffutils. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 26 Mar 2025 01:42:02 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Mar 25 21:42:02 2025
Received: from localhost ([127.0.0.1]:40550 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1txFmM-0007IU-7n
	for submit <at> debbugs.gnu.org; Tue, 25 Mar 2025 21:42:02 -0400
Received: from lists.gnu.org ([2001:470:142::17]:35238)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <grgoffe@HIDDEN>) id 1txFmI-0007Hu-So
 for submit <at> debbugs.gnu.org; Tue, 25 Mar 2025 21:41:59 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <grgoffe@HIDDEN>) id 1txFm9-0002KX-GX
 for bug-diffutils@HIDDEN; Tue, 25 Mar 2025 21:41:50 -0400
Received: from sonic309-22.consmr.mail.ne1.yahoo.com ([66.163.184.148])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <grgoffe@HIDDEN>) id 1txFm6-0001sJ-NS
 for bug-diffutils@HIDDEN; Tue, 25 Mar 2025 21:41:48 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1742953302; bh=edwRVQtlG6qtqX+QWZooQc27NghDosyJNPIHf0kw2ag=;
 h=Date:From:Reply-To:To:Subject:References:From:Subject:Reply-To;
 b=iQ+pt/fPxrXYN7OOxBYmwo6lFZ01J2rHjeryjZZ2UXropSiVoJTztHXT5hhEGsICkS9JNHz5oEgh0HrM2AmZqJG1tJZxHJMOLgmyWGh3//0240jNsmeghytGPgu+jON0+AyHZ7C+DUJvBuJHTm5Ggxy6AaUY9LeyBbH2FdF9b2+P71ibckN55OLatvwksN7v+92+aP2MLpKPwloNHgP9I8Aq8uzADDX7La+17HNo/R38KT6NXCufgmdpibI+X81SKZMIlbeRsgzPVWk8MF4jzW0+tqKSHIQh3uJoMscKqmd+zmslNTmbFYdQYKAjxOCUwl37DnZKKFEzflj27lTgJw==
X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1742953302; bh=NuIRVMT8CMW+NgeKdk3jpI0QVBhkM7a3fFv/xrybh7e=;
 h=X-Sonic-MF:Date:From:To:Subject:From:Subject;
 b=KqkjKKAxsaTdhKpqH5Cia2TI0hXnLLuJk03xcqzdJDIjDcuIm4OMexCazlYQulEmq1vDlrGxnRA4SL7LzulZH9JbI1WdCCXhO6UcjOuDwvQNg2ber7jm5eZCtgSc54UcxX12Zk+a4DGm0K1sX4uFIHfLsnbc89rVe940VKKi8q0n9MdPg9J+P0pwpE0JItZZCtmG4sOEC4nGB34ZYam4BRIr3Hm5y/m1qh4NWBveChYE3eqTIEll8G44Y9NT8+OivgwlELVWPp5OyIYJm1aebNfGVUt2aYx0szgHZuSBEMxUKZQaCqBhIZv0h1e8Sui3FEjgy0CsNhGDEk9L+YEVng==
X-YMail-OSG: nkYqdHwVM1kpuIcLKeVHXyokxE1oS4kOGxidaaUGRq_L67OG8FlMjA6FUi_S.y4
 LU9A7i7q8TKE9Nu76dcjDvmhRFbr6t7Kytc9VrCOLXihLPxNMb4ii6pQ99.YfS6z003KgBVRwO1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6J9EinAMwa76kOuC2JTP51s8l6iBKbu1QxJXuk_Z2
 B1lc588ExyjAbnDMjuvut3sYPrlWFq.blr.ldVp5IxJhFA5w7mH_K
X-Sonic-MF: <grgoffe@HIDDEN>
X-Sonic-ID: 334ead2f-073d-4fbb-bbdd-82343687cbf1
Received: from sonic.gate.mail.ne1.yahoo.com by
 sonic309.consmr.mail.ne1.yahoo.com with HTTP; Wed, 26 Mar 2025 01:41:42 +0000
Date: Tue, 25 Mar 2025 22:30:50 +0000 (UTC)
From: George R Goffe <grgoffe@HIDDEN>
To: "bug-diffutils@HIDDEN" <bug-diffutils@HIDDEN>
Message-ID: <1123209731.1859946.1742941850104@HIDDEN>
Subject: diffutils-3.11: realloc(): invalid next size
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
References: <1123209731.1859946.1742941850104.ref@HIDDEN>
X-Mailer: WebService/1.1.23533 YMailNorrin
Content-Length: 477
Received-SPF: pass client-ip=66.163.184.148; envelope-from=grgoffe@HIDDEN;
 helo=sonic309-22.consmr.mail.ne1.yahoo.com
X-Spam_score_int: -4
X-Spam_score: -0.5
X-Spam_bar: /
X-Spam_report: (-0.5 / 5.0 requ) BAYES_00=-1.9, DATE_IN_PAST_03_06=1.592,
 DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=0.001,
 RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001,
 SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 2.8 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview:  Howdy, This system is a Fedora 42 x86_64 version. I have run
 diffutils-3.10/src/sdiff with NO problems. With diffutils-3.11/src/sdiff
 I get the following: 
 Content analysis details:   (2.8 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
 no trust [2001:470:142:0:0:0:0:17 listed in] [list.dnswl.org]
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
 provider (grgoffe[at]yahoo.com)
 0.7 SPF_NEUTRAL            SPF: sender does not match SPF record (neutral)
 -0.0 SPF_HELO_PASS          SPF: HELO matches SPF record
 1.1 DATE_IN_PAST_03_06     Date: is 3 to 6 hours before Received: date
 1.0 FORGED_YAHOO_RCVD      'From' yahoo.com does not match 'Received'
 headers
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Reply-To: George R Goffe <grgoffe@HIDDEN>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 1.8 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  Howdy, This system is a Fedora 42 x86_64 version. I have run
    diffutils-3.10/src/sdiff with NO problems. With diffutils-3.11/src/sdiff
   I get the following: 
 
 Content analysis details:   (1.8 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
                              no trust
                             [2001:470:142:0:0:0:0:17 listed in]
                             [list.dnswl.org]
  0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
                             provider (grgoffe[at]yahoo.com)
  0.7 SPF_NEUTRAL            SPF: sender does not match SPF record (neutral)
 -0.0 SPF_HELO_PASS          SPF: HELO matches SPF record
  1.1 DATE_IN_PAST_03_06     Date: is 3 to 6 hours before Received: date
  1.0 FORGED_YAHOO_RCVD      'From' yahoo.com does not match 'Received'
                             headers
 -1.0 MAILING_LIST_MULTI     Multiple indicators imply a widely-seen list
                             manager

Howdy,

This system is a Fedora 42 x86_64 version.

I have run diffutils-3.10/src/sdiff with NO problems. With diffutils-3.11/s=
rc/sdiff I get the following:

/tools/diffutils/diffutils-3.11/src# ./sdiff -w 111 mkc mkconfig
realloc(): invalid next size
Aborted=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (core dumped) ./sdiff -w 1=
11 mkc mkconfig

Am I doing something wrong?

Best regards,

George...




Acknowledgement sent to George R Goffe <grgoffe@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-diffutils@HIDDEN. Full text available.
Report forwarded to bug-diffutils@HIDDEN:
bug#77265; Package diffutils. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Wed, 26 Mar 2025 04:30:03 UTC

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