From: Dan Carpenter Date: Mon, 15 Mar 2010 08:26:56 +0000 (+0300) Subject: [SCSI] dpt_i2o: several use after free issues X-Git-Tag: v2.6.34-rc6~69^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=229bab6bacc42295f13c0434772381a88ce2308b;p=pandora-kernel.git [SCSI] dpt_i2o: several use after free issues 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. Signed-off-by: Dan Carpenter Signed-off-by: James Bottomley --- Reading git-diff-tree failed