Re: [PATCH hail] lib/hstor.c: avoid an unconditional leak in append_qparam

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 27 Sep 2010 12:53:48 -0400
Jeff Garzik <jeff@xxxxxxxxxx> wrote:

> > -	stmp = huri_field_escape(strdup(val), QUERY_ESCAPE_MASK);
> > +	v = strdup(val);
> > +	stmp = huri_field_escape(v, QUERY_ESCAPE_MASK);
> >   	str = g_string_append(str, stmp);
> >   	free(stmp);
> > +	free(v);
> 
> applied

I'm going to post a patch that undoes the damage. It's in testing.

-- Pete
--
To unsubscribe from this list: send the line "unsubscribe hail-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Fedora Clound]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux