11935 loader: fix memory corruption bug in vdev_read

Review Request #2441 - Created Nov. 6, 2019 and submitted

Information
Toomas Soome
illumos-gate
11935
711d596...
Reviewers
general
https://svnweb.freebsd.org/base?view=revision&revision=r344226
https://svnweb.freebsd.org/base?view=revision&revision=r344234
https://svnweb.freebsd.org/base?view=revision&revision=r348471

The bug occurred when a bounce buffer was used and the requested read
size was greater than the size of the bounce buffer.  This commit also
rewrites the read logic so that it is easier to systematically verify
all alignment and size cases.

  

Issues

  • 0
  • 1
  • 0
  • 1
Description From Last Updated
Toomas Soome
Matthias Scheler
Toomas Soome
Matthias Scheler
Andy Fiddaman
Toomas Soome
Toomas Soome
Review request changed

Status: Closed (submitted)

Loading...