From: Thomas Gleixner Date: Sun, 19 Jul 2009 15:09:12 +0000 (+0200) Subject: clocksource: Prevent NULL pointer dereference X-Git-Tag: v2.6.31-rc4~5^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=79ef2bb01445400def20c7993b27fbcad27ca95f;p=pandora-kernel.git clocksource: Prevent NULL pointer dereference Writing a zero length string to sys/.../current_clocksource will cause a NULL pointer dereference if the clock events system is in one shot (highres or nohz) mode. Pointed-out-by: Dan Carpenter LKML-Reference: Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed