lkml.org 
[lkml]   [2012]   [Jun]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] sched: fix fork() error path to not crash.
From
Date
On Mon, 2012-06-25 at 18:18 -0700, Salman Qazi wrote:
> In dup_task_struct, if arch_dup_task_struct fails, the clean up
> code fails to clean up correctly. That's because the clean up
> code depends on unininitalized ti->task pointer. We fix this
> by making sure that the task and thread_info know about each other
> before we attempt to take the error path.
>
> Signed-off-by: Salman Qazi <sqazi@google.com>

Cute, however did you find that?


\
 
 \ /
  Last update: 2012-06-26 11:22    [W:0.138 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site