cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: OOM leak in multi code

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Thu, 7 Jul 2011 18:28:19 -0700

On Thu, Jun 23, 2011 at 10:16:44AM +0200, Daniel Stenberg wrote:
> On Wed, 22 Jun 2011, Dan Fandrich wrote:
> >I'm not very familiar with the multi code, but there doesn't appear
> >to be a simple fix for this. Does anyone have any ideas?
>
> I'll just get the release out the door first, then I'll dig into this
> and see what I can do. I'll get back.

I've spotted another multi-related OOM issue that causes occasional torture
test failures in test 530. multi_addtimeout() can fail with a
CURLM_OUT_OF_MEMORY code, but all of its callers ignore that code so
neglect to deal with it appropriately.

>>> Dan
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-07-08