cURL / Mailing Lists / curl-users / Single Mail

curl-users

[ curl-Bugs-587938 ] %{content_type} sometimes crashes curl

From: <noreply_at_sourceforge.net>
Date: Mon, 29 Jul 2002 01:24:06 -0700

Bugs item #587938, was opened at 2002-07-29 10:24
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=587938&group_id=976

Category: client module
Group: crash
Status: Open
Resolution: None
Priority: 7
Submitted By: Daniel Stenberg (bagder)
Assigned to: Daniel Stenberg (bagder)
Summary: %{content_type} sometimes crashes curl

Initial Comment:
Matthias Petofalvi filed this report in the feedback
section, I moved it here:

The new "%{content_type}" makes curl crash when it
fails to properly download a file.

For example if you do this with curl 7.9.8 (win32) in
Windows XP:

curl.exe -w %%{content_type} badproto://foo/bar

You get a Dr. Watson window:

AppName: curl.exe AppVer: 0.0.0.0 ModName: msvcrt.dll
ModVer: 7.0.2600.0 Offset: 0002dcd8

I guess some sprintf() variant is passed an
uninitialized string pointer...

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

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=587938&group_id=976

-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
Received on 2002-07-29