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 Apr 7 2015, 6:06 PM
Parents
rG8d6f425ddd80: Check l2cap socket initialisation and define L2CAP_SOCKET_CHECKED
Branches
Unknown
Tags
Unknown

Event Timeline