11935 loader: fix memory corruption bug in vdev_read

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

Information
Toomas Soome
illumos-gate
11935
8043331...
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
Review request changed

Commit:

-afc48941ab65e68d0c8e33d54874c6c520ba1331
+80433313dacacdceb376463f8b652d4ff5ad7920

Diff:

Revision 3 (+81 -31)

Show changes

Matthias Scheler
Ship It!
Andy Fiddaman
Ship It!
Loading...