https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196694

--- Comment #2 from commit-h...@freebsd.org ---
A commit references this bug:

Author: ngie
Date: Fri Apr 24 11:03:48 UTC 2015
New revision: 281928
URL: https://svnweb.freebsd.org/changeset/base/281928

Log:
  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 <dar...@dons.net.au>
  Sponsored by: EMC / Isilon Storage Division

Changes:
  head/lib/libmd/mdXhl.c

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to