[Bug 280371] diff(1) attempts to allocate ~10^20 bytes while comparing 32GB text files
Date: Fri, 26 Jul 2024 17:22:18 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280371
Mark Johnston <markj@FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|New |Open
CC| |des@FreeBSD.org,
| |markj@FreeBSD.org
--- Comment #1 from Mark Johnston <markj@FreeBSD.org> ---
Maybe Dag-Erling would be willing to take a look? I see several places where
we pass 32-bit ints to xreallocarray(), so presumably we are truncating the
allocation size somewhere.
--
You are receiving this mail because:
You are the assignee for the bug.