]> granicus.if.org Git - strace/commit
aio: fix off-by-one error in indexed xlat lookup
authorDmitry V. Levin <ldv@altlinux.org>
Sun, 23 Dec 2018 22:12:36 +0000 (22:12 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Sun, 23 Dec 2018 22:12:36 +0000 (22:12 +0000)
commit986a55423eb8e16a7cd0b249ce8e18465f0650f4
tree7401c572d660ba509294af0b9fa29418b073b8f0
parentb2c63fa8973442747de715ff5ff5340383e7b69d
aio: fix off-by-one error in indexed xlat lookup

* aio.c (tprint_lio_opcode): Decrement xlat size by one to account
for XLAT_END as other users of indexed xlats do.

Fixes: v4.24~71 "aio: print IOCB_CMD_* using xlat"
aio.c