Files
android_kernel_samsung_msm8…/lib
Dan Carpenter f9025f2f5c lib/scatterlist: error handling in __sg_alloc_table()
I was reviewing code which I suspected might allocate a zero size SG
table.  That will cause memory corruption.  Also we can't return before
doing the memset or we could end up using uninitialized memory in the
cleanup path.

Change-Id: Icee6be8ea22644d7f16264d9d2a0887c7145996b
CRs-Fixed: 611562
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Cc: Akinobu Mita <akinobu.mita@gmail.com>
Cc: Imre Deak <imre.deak@intel.com>
Cc: Tejun Heo <tj@kernel.org>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Maxim Levitsky <maximlevitsky@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2014-02-04 17:49:07 -08:00
..
…
2011-10-03 11:40:37 -07:00
…
…
…
2011-10-29 21:20:22 +02:00
…
…
…
2012-03-23 16:58:38 -07:00
…
2012-03-23 16:58:38 -07:00
2013-12-09 17:15:25 -08:00
…
2014-01-24 06:00:44 -08:00
2012-01-31 23:19:47 +02:00
2011-12-08 19:52:43 -05:00
…
…
…
…