cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: bug in curl_formget()

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 10 Jun 2011 08:44:59 +0200 (CEST)

On Fri, 10 Jun 2011, Aaron Orenstein wrote:

> First time submitting a bug/patch - hopefully this is the right forum.

It is, thanks!

> I think I've come across a bug in curl_formget() where it's not closing the
> files that it's opened. The problem is that it looks like readfromfile()
> has a '>' where there should be a '<':

Great. Can you also please tell us how you fell over this problem? I'd like to
write up a test case that first can repeat the problem and then subsequently
verify that the patch fixes it.

I noticed that we don't have a single test case for curl_formget() so it is
about time we add a few!

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2011-06-10