]> git.baikalelectronics.ru Git - kernel.git/commit
alpha: Prevent a NULL ptr dereference in csum_partial_copy.
authorJay Estabrook <jay.estabrook@gmail.com>
Sun, 17 Nov 2013 00:45:31 +0000 (16:45 -0800)
committerMatt Turner <mattst88@gmail.com>
Sun, 17 Nov 2013 00:48:42 +0000 (16:48 -0800)
commit62c41b3384d10048e974ee040a9723d4d6b6ba5e
treefd5784acb203c3243c033d9fe6504792d7f1fd0b
parent9504167405cdb037dfd5572a95b990de438378b0
alpha: Prevent a NULL ptr dereference in csum_partial_copy.

Introduced by 3d61501b649b7fc975 ("kernel-wide: fix missing validations
on __get/__put/__copy_to/__copy_from_user()").

Also fix some other places which could be problematic in a similar way,
although they hadn't been proved so, as far as I can tell.

Cc: Michael Cree <mcree@orcon.net.nz>
Signed-off-by: Matt Turner <mattst88@gmail.com>
arch/alpha/lib/csum_partial_copy.c