]> Git Repo - linux.git/commit
libata: zpodd: small read overflow in eject_tray()
authorDan Carpenter <[email protected]>
Tue, 29 May 2018 09:13:24 +0000 (12:13 +0300)
committerTejun Heo <[email protected]>
Tue, 29 May 2018 13:48:54 +0000 (06:48 -0700)
commit18c9a99bce2a57dfd7e881658703b5d7469cc7b9
tree10f0fe3c1ce08f8ea08aa24636d6da0eddf3ccff
parent4544e403eb25552aed7f0ee181a7a506b8800403
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: 213342053db5 ("libata: handle power transition of ODD")
Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: Tejun Heo <[email protected]>
Cc: [email protected]
drivers/ata/libata-zpodd.c
This page took 0.055336 seconds and 4 git commands to generate.