https://github.com/torvalds/linux
Revision 4384247b6910df91049f8d0bbd5c1075898ac290 authored by Al Viro on 23 January 2007, 12:25:08 UTC, committed by Linus Torvalds on 23 January 2007, 19:09:49 UTC
memset() after kmalloc() on size * 8 would better be on size * 8, not
just size; fixed by switching to kcalloc() - it's more idiomatic anyway.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 0a3c4bd
History
Tip revision: 4384247b6910df91049f8d0bbd5c1075898ac290 authored by Al Viro on 23 January 2007, 12:25:08 UTC
[PATCH] s2io bogus memset
Tip revision: 4384247
File Mode Size
keys
selinux
Kconfig -rw-r--r-- 3.2 KB
Makefile -rw-r--r-- 556 bytes
capability.c -rw-r--r-- 2.8 KB
commoncap.c -rw-r--r-- 9.4 KB
dummy.c -rw-r--r-- 25.8 KB
inode.c -rw-r--r-- 9.2 KB
root_plug.c -rw-r--r-- 3.9 KB
security.c -rw-r--r-- 5.4 KB

back to top