[PATCH] scsi: fix shift out-of-bounds in sg_build_indirect The num variable is set to 0. The variable num gets its value from scatter_elem_sz. However the minimum value of scatter_elem_sz is PAGE_SHIFT. So setting num to PAGE_SIZE when num < PAGE_SIZE.

Show replies by date

5
days inactive
6
days old

linux-stable-mirror@lists.linaro.org

4 comments
participants

Add to favorites Remove from favorites

tags (0)
participants (4)
  • David Hunter
  • Khalid Aziz
  • Kshitij Paranjape
  • vivek yadav