kmalloc_array manages count*sizeof overflow.
Cc: Phillip Lougher
Cc: Andrew Morton
Cc: Joe Perches
Signed-off-by: Fabian Frederick
---
V2:
use kmalloc_array instead of kcalloc (suggested by Joe Perches).
fs/squashfs/file_direct.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
kmalloc_array manages count*sizeof overflow.
Cc: Phillip Lougher phil...@squashfs.org.uk
Cc: Andrew Morton a...@linux-foundation.org
Cc: Joe Perches j...@perches.com
Signed-off-by: Fabian Frederick f...@skynet.be
---
V2:
use kmalloc_array instead of kcalloc (suggested by Joe Perches).
2 matches
Mail list logo