summaryrefslogtreecommitdiffstats
path: root/kernel/timer.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2009-07-19 17:09:12 +0200
committerThomas Gleixner <tglx@linutronix.de>2009-07-19 17:15:54 +0200
commit79ef2bb01445400def20c7993b27fbcad27ca95f (patch)
tree2b4941a2b4a6822dd0f50f13ff04e9e0a369878e /kernel/timer.c
parent4841158b26e28e1476eed84c7347c18f11317750 (diff)
downloadtalos-obmc-linux-79ef2bb01445400def20c7993b27fbcad27ca95f.tar.gz
talos-obmc-linux-79ef2bb01445400def20c7993b27fbcad27ca95f.zip
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 <error27@gmail.com> LKML-Reference: <alpine.DEB.2.00.0907191545580.12306@bicker> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/timer.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud