aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authordean gaudet <[email protected]>2006-04-27 18:39:17 -0700
committerLinus Torvalds <[email protected]>2006-04-28 08:33:46 -0700
commit47bb789973fed504e4711ec34e63b84e6cbfb4e8 (patch)
tree2f617a73244a93d4b5b92236b6f809bf36912db5 /include/linux
parent37e53db8aa233c65142d63b496277bf5be9c0ade (diff)
[PATCH] off-by-1 in kernel/power/main.c
There's an off-by-1 in kernel/power/main.c:state_store() ... if your kernel just happens to have some non-zero data at pm_states[PM_SUSPEND_MAX] (i.e. one past the end of the array) then it'll let you write anything you want to /sys/power/state and in response the box will enter S5. Signed-off-by: dean gaudet <[email protected]> Acked-by: Pavel Machek <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions