HomeFreeBSD

patch: Bring small updates from OpenBSD

Description

patch: Bring small updates from OpenBSD

Prevent null pointer dereference on empty input files when diff requires
a specific version.

Fix division by zero for files with long lines (> 1024) in Plan B mode
by supporting arbitrarily long lines.

Obtained from: OpenBSD (CVS Rev 1.41, 1.42)
MFC after: 1 week

Details

Provenance
pfgAuthored on
Parents
rS281215: MFC r281006
Branches
Unknown
Tags
Unknown

Event Timeline