]> git.baikalelectronics.ru Git - kernel.git/commit
fs/cifs/smb2file.c: replace count*size kzalloc by kcalloc
authorFabian Frederick <fabf@skynet.be>
Wed, 10 Dec 2014 23:41:20 +0000 (15:41 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 11 Dec 2014 01:41:02 +0000 (17:41 -0800)
commitf1dbd7bbb615fec6541d812cf263e5c0f09e68df
tree32e580c66dadf8adba1bb59b1b069defdc8db371
parent80254f946c0b5f06e2772e93cbf56b573dbb3c4b
fs/cifs/smb2file.c: replace count*size kzalloc by kcalloc

kcalloc manages count*sizeof overflow.

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Cc: Steve French <sfrench@samba.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/cifs/smb2file.c