]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - fs/aio.c
aio: table lookup: verify ctx pointer
authorBenjamin LaHaise <bcrl@kvack.org>
Wed, 7 Aug 2013 22:23:48 +0000 (18:23 -0400)
committerBenjamin LaHaise <bcrl@kvack.org>
Wed, 7 Aug 2013 22:23:48 +0000 (18:23 -0400)
commitf30d704fe1244c44a984d3d1f47bc648bcc6c9f7
treee10cb0106ea097cd5e8a406f0f59e38b0e714547
parent0bdd5ca553ebc15060dd72684710e0a0af4481b4
aio: table lookup: verify ctx pointer

Another shortcoming of the table lookup patch was revealed where the pointer
was not being tested before being dereferenced.  Verify this to avoid the
NULL pointer dereference.

Signed-off-by: Benjamin LaHaise <bcrl@kvack.org>
fs/aio.c