Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libata: zpodd: small read overflow in eject_tray()
We read from the cdb[] buffer in ata_exec_internal_sg(). It has to be ATAPI_CDB_LEN (16) bytes long, but this buffer is only 12 bytes. Fixes: 2133420 ("libata: handle power transition of ODD") Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: Tejun Heo <[email protected]> Cc: [email protected]
- Loading branch information