cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker mailing list Archives

[ curl-Bugs-2897159 ] Testing: allocate as much memory as needed

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Thu, 19 Nov 2009 11:25:33 +0000

Bugs item #2897159, was opened at 2009-11-13 11:33
Message generated for change (Comment added) made by roamer
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=2897159&group_id=976

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: debug/info output
Group: wrong behaviour
>Status: Closed
Resolution: Invalid
Priority: 5
Private: No
Submitted By: Peter Pentchev (roamer)
Assigned to: Daniel Stenberg (bagder)
Summary: Testing: allocate as much memory as needed

Initial Comment:
Not sure if this is a bug per se, but there could be situations in which getpart.c's appendstring() could fail to allocate as much memory as needed in just one retry. If the attached patch does not make it through for some reason, it's also available at
http://cvsweb.freebsd.org/ports/ftp/curl/files/patch-tests::server::getpart.c

Once again, thanks for writing and maintaining curl!

----------------------------------------------------------------------

>Comment By: Peter Pentchev (roamer)
Date: 2009-11-19 11:25

Message:
Oof. Thanks a lot for pointing that out. I guess I really wasn't thinking
quite straight when I initially posted it - I guess I'm kind of used to my
own version of such realloc loops, and didn't notice it was done in the
sensible way for this case.

Apologies for your wasted time! :)

----------------------------------------------------------------------

Comment By: Daniel Stenberg (bagder)
Date: 2009-11-17 16:13

Message:
Thanks for reporting this issue and helping us improve curl and libcurl.

We're awaiting feedback in this issue. Due to this, I have set the state
of this issue to pending and it will automatically get closed later on
unless we get further info.

Please consider answering the outstanding questions or providing the
missing info so that we can proceed to resolve this issue!

----------------------------------------------------------------------

Comment By: Daniel Stenberg (bagder)
Date: 2009-11-13 22:25

Message:
Sorry, I don't see how. Can you explain the code sequence when or how that
would happen?

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=2897159&group_id=976
Received on 2009-11-19

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET