]> git.baikalelectronics.ru Git - kernel.git/commit
Staging: binder: Add more offset validation.
authorArve Hjønnevåg <arve@android.com>
Mon, 6 Apr 2009 22:12:56 +0000 (15:12 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 17 Apr 2009 18:06:26 +0000 (11:06 -0700)
commit0e751ac101baaa49750cd8a9935b136704250742
tree3d6a9b0ceca8d1f0583bda79bfc05d09f887b073
parentb063aa0877455ccf21d6433acdaf01e8ad8ca779
Staging: binder: Add more offset validation.

Check that datasize is not smaller than one flat_binder_object.
Check that offsets are aligned.
Check that offsets_size is aligned.

Signed-off-by: Arve Hjønnevåg <arve@android.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/android/binder.c