[Stgt-devel] [Patch 1/6] Fix potential memory leak

FUJITA Tomonori fujita.tomonori
Wed Jun 20 13:13:20 CEST 2007


From: Mark Harvey <markh794 at gmail.com>
Subject: Re: [Stgt-devel] [Patch 1/6] Fix potential memory leak
Date: Wed, 20 Jun 2007 21:00:25 +1000

> FUJITA Tomonori wrote:
> > From: Mark Harvey <markh794 at gmail.com>
> > Subject: [Stgt-devel] [Patch 1/6] Fix potential memory leak
> > Date: Wed, 20 Jun 2007 17:57:44 +1000
> >
> >   
> >> >From f25303a09128973d77df0bb49926001212548f1d Mon Sep 17 00:00:00 2001
> >> From: Mark Harvey <markh794 at gmail.com>
> >> Date: Wed, 20 Jun 2007 17:31:32 +1000
> >> Subject: Fix memory leak in ibmvio -> spc_inquiry() path
> >>
> >> Allocating data = valloc() twice when calling spc_inquiry()
> >>     
> >
> > Thanks for finding this bug.
> >
> > __ibmvio_inquiry should handle errors properly so I'll fix this in a
> > different way.
> >
> >   
> 
> No problems... I found it while looking thru the code updating the 
> ASC/ASCQ stuff.
> 
> BTW: Can the ibmvio be complied on an x86 linux host ?

Yeah, but it doesn't work.



More information about the stgt mailing list