]> git.karo-electronics.de Git - karo-tx-linux.git/commit
vmcore-allocate-elf-note-segment-in-the-2nd-kernel-vmalloc-memory-fix
authorAndrew Morton <akpm@linux-foundation.org>
Thu, 27 Jun 2013 23:51:35 +0000 (09:51 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 28 Jun 2013 06:37:35 +0000 (16:37 +1000)
commitabe6db4b152ce8006f3fa3c057d7ca8b0f018ee3
tree2d4a0f9f1fcd30f144959ef01ba63f88a3c44983
parentb8b05595ab0d0a5e1baa434394b4d8fa2e592ef8
vmcore-allocate-elf-note-segment-in-the-2nd-kernel-vmalloc-memory-fix

use min(), fix error-path vzalloc() leaks

Cc: Atsushi Kumagai <kumagai-atsushi@mxc.nes.nec.co.jp>
Cc: HATAYAMA Daisuke <d.hatayama@jp.fujitsu.com>
Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: Lisa Mitchell <lisa.mitchell@hp.com>
Cc: Vivek Goyal <vgoyal@redhat.com>
Cc: Zhang Yanfei <zhangyanfei@cn.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/proc/vmcore.c