cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Bug in cookie parsing?

From: Dirk Kruschewski <dk_at_nightmare.de>
Date: Mon, 25 Sep 2000 22:58:11 +0200

On Mon, 25 Sep 2000, you wrote:

>I'd rather do a patch like the one attached to this mail. I'll appriciate
>feedback on the success or failure of this patch.

This patch works fine. Thank you. :-)

But now I have another problem/bug dicovered.

If a site *sets* a cookie the following problem occured on Windows systems
(tested on Win98 and Win2000):

Receiving a page without sending an own cookie works fine.

Receiving a page with sending a cookie from the command line works fine
too.
(Example: curl -b "ID=dummy" www.nightmare.de/cgi/cookietest.pl)

Receiving a page with sending a cookie from a file results in a crash :-(
(Example:
i) receive the cookie: curl -D headers www.nightmare.de/cgi/cookietest.pl
ii) try to get: curl -b headers www.nightmare.de/cgi/cookietest.pl )

I get the following error message:
The instruction at "..." referenced memory at "0x00000000". The memory
could not be "read".

This error does not occur with Linux. Unfortunately I need the Windows
version :-(

I have no compiler/debugger for Windows, so I can not help in this issue.
Hopefully someone else can solve the problem.

-d

-- 
"Ich schaetz, dass es so ist, weil es so war und auch so bleibt,
 ich habīs nicht so gemacht, ich bin nur der, der es schreibt." - RHP
Received on 2000-09-25