[Bug 285794] textproc/diffutils: Fix misallocation which can cause 'diff -y' crash

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 31 Mar 2025 01:53:55 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=285794

            Bug ID: 285794
           Summary: textproc/diffutils: Fix misallocation which can cause
                    'diff -y' crash
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: collin.funk1@gmail.com
                CC: schaiba@gmail.com
             Flags: maintainer-feedback?(schaiba@gmail.com)
                CC: schaiba@gmail.com

Created attachment 259202
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=259202&action=edit
git format-patch -1

There was a possible crash when running 'diff -y' reported in GNU diffutils
upstream around a month ago.

Here is a patch using the one-line patch that I sent upstream.

-- 
You are receiving this mail because:
You are the assignee for the bug.