lkml.org 
[lkml]   [2010]   [Mar]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] dpt_i20: several use after free issues
On Mon, 15 Mar 2010 11:26:56 +0300
Dan Carpenter <error27@gmail.com> wrote:

> adpt_i2o_delete_hba() calls kfree() so we have to save "pHba->next"
> before calling it. Also inside adpt_i2o_delete_hba() itself, there
> was another use after free bug which I fixed by moving the kfree()
> down a line.

erk. This code should be crashing most gruesomely. I wonder why it
doesn't.



\
 
 \ /
  Last update: 2010-03-15 21:49    [W:0.025 / U:33.648 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site