Menu

#219 %{content_type} sometimes crashes curl

closed-fixed
7
2013-06-21
2002-07-29
No

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...

Discussion

  • Daniel Stenberg

    Daniel Stenberg - 2002-07-30

    Logged In: YES
    user_id=1110

    Fixed in CVS just now (src/writeout.c 1.13)

    Thanks for reporting!

     
  • Daniel Stenberg

    Daniel Stenberg - 2002-07-30
    • status: open --> closed-fixed
     
MongoDB Logo MongoDB