1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-19 10:53:58 +00:00
freebsd/lib/libmd
Enji Cooper 6eec0f2bda Avoid an infinite loop by ensuring that the amount of bytes read is greater
than 0 in MDXFileChunk when calculating the checksum

This edgecase can be triggered if the file is truncated while the checksum
is being calculated (i.e. the EOF is reached)

Differential Revision: https://reviews.freebsd.org/D2351 (patch by darius)
PR: 196694
Reviewed by: delphij, ngie
Submitted by: Daniel O'Connor <darius@dons.net.au>
Sponsored by: EMC / Isilon Storage Division
2015-04-24 11:03:47 +00:00
..
i386
Makefile
md4.copyright
md4.h
md4c.c
md5.copyright
md5.h
md5c.c
mddriver.c
mdX.3 use .Mt to mark up email addresses consistently (part3) 2014-06-23 08:23:05 +00:00
mdXhl.c Avoid an infinite loop by ensuring that the amount of bytes read is greater 2015-04-24 11:03:47 +00:00
ripemd.3 Dereference nonexistent md2(3) manual. 2014-03-28 04:19:06 +00:00
ripemd.h
rmd160c.c Revert r274772: it is not valid on MIPS 2014-11-25 03:50:31 +00:00
rmd_locl.h
rmdconst.h
rmddriver.c
sha0c.c
sha1c.c Revert r274772: it is not valid on MIPS 2014-11-25 03:50:31 +00:00
sha256.3 Dereference nonexistent md2(3) manual. 2014-03-28 04:19:06 +00:00
sha256.h
sha256c.c
sha512.3 Dereference nonexistent md2(3) manual. 2014-03-28 04:19:06 +00:00
sha512.h
sha512c.c
sha_locl.h
sha.3 Dereference nonexistent md2(3) manual. 2014-03-28 04:19:06 +00:00
sha.h
shadriver.c