aboutsummaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorOleg Nesterov <[email protected]>2006-10-28 10:38:49 -0700
committerLinus Torvalds <[email protected]>2006-10-28 11:30:54 -0700
commitfca178c0c6e8d52a1875be36b070f30884ebfae9 (patch)
tree4bce17647edd3fae6b0ba96407cd1c02037b11d1 /include/linux/debugobjects.h
parent6e6d9fa6f95e382bb2d5725dda18b9e811418e79 (diff)
[PATCH] fill_tgid: fix task_struct leak and possible oops
1. fill_tgid() forgets to do put_task_struct(first). 2. release_task(first) can happen after fill_tgid() drops tasklist_lock, it is unsafe to dereference first->signal. This is a temporary fix, imho the locking should be reworked. Signed-off-by: Oleg Nesterov <[email protected]> Cc: Shailabh Nagar <[email protected]> Cc: Balbir Singh <[email protected]> Cc: Jay Lan <[email protected]> Cc: <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions