11935 loader: fix memory corruption bug in vdev_read

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

tsoome
illumos-gate
11935
711d596...
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.


  • 0
  • 0
  • 1
  • 0
  • 1
Description From Last Updated
tsoome
mscheler
  1. 
      
  2. usr/src/boot/lib/libstand/zfs/zfs.c (Diff revision 2)
     
     

    Left over debug code?

  3. 
      
tsoome
mscheler
  1. Ship It!
  2. 
      
citrus
  1. Ship It!
  2. 
      
tsoome
tsoome
Review request changed

Status: Closed (submitted)

Loading...