[Bug 267032] diff(1) -U and -C with very large number of context may produce incorrect line indicator

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 15 Oct 2022 09:59:05 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267032

--- Comment #2 from Daniel Tameling <tamelingdaniel@gmail.com> ---
Created attachment 237325
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=237325&action=edit
proposed fix for the integer overflows.

The patch assumes that a,b,c,d represent line numbers and are thus always
positive.

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