summaryrefslogtreecommitdiffstats
path: root/arch/mips/sibyte
diff options
context:
space:
mode:
authorMatt Mackall2008-10-07 18:37:35 +0200
committerLinus Torvalds2008-10-07 20:19:23 +0200
commit85ba94ba0592296053f7f2846812173424afe1cb (patch)
tree08b988ee8ebae30f31830801a44a62e0eec4856e /arch/mips/sibyte
parentRevert "V4L/DVB (8904): cx88: add missing unlock_kernel" (diff)
downloadkernel-qcow2-linux-85ba94ba0592296053f7f2846812173424afe1cb.tar.gz
kernel-qcow2-linux-85ba94ba0592296053f7f2846812173424afe1cb.tar.xz
kernel-qcow2-linux-85ba94ba0592296053f7f2846812173424afe1cb.zip
SLOB: fix bogus ksize calculation
SLOB's ksize calculation was braindamaged and generally harmlessly underreported the allocation size. But for very small buffers, it could in fact overreport them, leading code depending on krealloc to overrun the allocation and trample other data. Signed-off-by: Matt Mackall <mpm@selenic.com> Tested-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/mips/sibyte')
0 files changed, 0 insertions, 0 deletions