From: Rene Herman Date: Mon, 11 Aug 2008 17:20:17 +0000 (+0200) Subject: x86: make "apic" an early_param() on 32-bit, NULL check X-Git-Tag: v2.6.27-rc3~51^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48d97cb65e62a5f1122ac2cf1149800d4f4693e8;p=pandora-kernel.git x86: make "apic" an early_param() on 32-bit, NULL check Cyrill Gorcunov observed: > you turned it into early_param so now it's NULL injecting vulnerabled. > Could you please add checking for NULL str param? fix that. Also, change the name of 'str' into 'arg', to make it more apparent that this is an optional argument that can be NULL, not a string parameter that is empty when unset. Reported-by: Cyrill Gorcunov Signed-off-by: Rene Herman Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed