From: Luck, Tony Date: Wed, 9 Dec 2009 22:29:36 +0000 (-0800) Subject: lockdep: Avoid out of bounds array reference in save_trace() X-Git-Tag: v2.6.33-rc1~303^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea5b41f9d595be354f7a50e56b28c2d72e6e88a5;p=pandora-kernel.git lockdep: Avoid out of bounds array reference in save_trace() ia64 found this the hard way (because we currently have a stub for save_stack_trace() that does nothing). But it would be a good idea to be cautious in case a real save_stack_trace() bailed out with an error before it set trace->nr_entries. Signed-off-by: Tony Luck Acked-by: Peter Zijlstra Cc: luming.yu@intel.com LKML-Reference: <4b2024d085302c2a2@agluck-desktop.sc.intel.com> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed