https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204230
Andrey A. Chernov changed:
What|Removed |Added
Assignee|freebsd-bugs@FreeBSD.org|a...@freebsd.org
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204230
--- Comment #4 from commit-h...@freebsd.org ---
A commit references this bug:
Author: ache
Date: Tue Nov 3 09:50:11 UTC 2015
New revision: 290329
URL: https://svnweb.freebsd.org/changeset/base/290329
Log:
Use meaningful errno for ssize_
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204230
--- Comment #3 from Andrey A. Chernov ---
Comment on attachment 162714
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=162714
proposed fix
This fix is not pretty.
1) It does not set errno (EFBIG)
2) Next overflow is few lines be
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204230
--- Comment #2 from Andrey A. Chernov ---
(In reply to Andrey A. Chernov from comment #1)
I.e (oldsize>(SIZE_MAX - 1))
--
You are receiving this mail because:
You are the assignee for the bug.
_
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204230
Andrey A. Chernov changed:
What|Removed |Added
CC||a...@freebsd.org
--- Comment #
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204230
Bug ID: 204230
Summary: [patch] bsdiff(1) - check file size against SIZE_MAX
Product: Base System
Version: 11.0-CURRENT
Hardware: Any
OS: Any
Status: New