Re: [2.4] Multiple memleaks in IBM Hot Plug Controller Driver

Greg KH (greg@kroah.com)
Thu, 13 Mar 2003 16:31:44 -0800


On Thu, Mar 13, 2003 at 11:45:56PM +0300, Oleg Drokin wrote:
> Hello!
>
> There seem to be memleak convert_2digits_to_char() function that is triggered
> during normal operations.
> Also I think there are some memleaks on error exit paths
> ebda_rsrc_controller()
> All of this is addressed by below patch.
> 2.5 seems to have totally different version of this code (and no
> convert_2digits_to_char() function at all for example).

Yes, the 2.5 version should be backported to 2.4. There have been a
number of error patch fixes in the 2.5 version, care to make up a patch?

> Found with help of smatch + enhanced unfree script.

The 2.5 changes were found with smatch too :)

thanks,

greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/