cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker Archives

[ curl-Bugs-3546353 ] Curl crashes with > 9 glob patterns

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Tue, 07 Aug 2012 04:52:50 -0700

Bugs item #3546353, was opened at 2012-07-20 07:43
Message generated for change (Comment added) made by bagder
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=3546353&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: client module
Group: crash
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: itayperl (itayperl)
Assigned to: Daniel Stenberg (bagder)
Summary: Curl crashes with > 9 glob patterns

Initial Comment:
This bug is easily reproduced:
curl '{}{}{}{}{}{}{}{}{}{}'
Looks like there is no check to avoid overflowing glob->pattern in glob_set/glob_range (src/tool_urlglob.c).

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

Comment By: Daniel Stenberg (bagder)
Date: 2012-08-07 04:52

Message:
Thanks for the report, this problem is now fixed in the git repository.

To try it out, you either checkout/update your git clone:
http://curl.haxx.se/source.html

or you try tomorrow's daily snapshot: http://curl.haxx.se/snapshots/

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

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=3546353&group_id=976
Received on 2012-08-07

These mail archives are generated by hypermail.

donate! Page updated January 05, 2012.
web site info

File upload with ASP.NET