commit | 14694888db2c1f7ba1f2e6172df45813b4db7880 | [log] [tgz] |
---|---|---|
author | Fabian Frederick <fabf@skynet.be> | Wed Aug 06 16:03:50 2014 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Wed Aug 06 18:01:13 2014 -0700 |
tree | 72fdad7dc1fc6c795ac6daaa73235cd8752cca3a | |
parent | e04aca4a769e16cf4f9b8a4bd3e761711640dc46 [diff] |
fs/squashfs/file_direct.c: replace count*size kmalloc by kmalloc_array kmalloc_array() manages count*sizeof overflow. Signed-off-by: Fabian Frederick <fabf@skynet.be> Cc: Phillip Lougher <phillip@squashfs.org.uk> Cc: Joe Perches <joe@perches.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>