freebsd-dev/usr.bin/bsdiff/bspatch
Ed Maste e3d9ae4c56 bspatch: add sanity checks on sizes to avoid integer overflow
Note that this introduces an explicit 2GB limit, but this was already
implicit in variable and function argument types.

This is based on the "non-cryptanalytic attacks against freebsd
update components" anonymous gist. Further refinement is planned.

Reviewed by:	allanjude, cem, kib
Obtained from:	anonymous gist
MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D7619
2016-09-06 19:00:37 +00:00
..
bspatch.1 use .Mt to mark up email addresses consistently (part3) 2014-06-23 08:23:05 +00:00
bspatch.c bspatch: add sanity checks on sizes to avoid integer overflow 2016-09-06 19:00:37 +00:00
Makefile Convert to usr.bin/ to LIBADD 2014-11-25 14:29:10 +00:00
Makefile.depend Add META_MODE support. 2015-06-13 19:20:56 +00:00