We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This sample code hits an infinite loop in curl_fnmatch.c
#include <curl/curl.h> int main(int argc, char *argv[]) { CURLcode ret; CURL *hnd; hnd = curl_easy_init(); curl_easy_setopt(hnd, CURLOPT_URL, "ftp://test.rebex.net/[*\\s-'tl"); curl_easy_setopt(hnd, CURLOPT_VERBOSE, 1L); curl_easy_setopt(hnd, CURLOPT_USERPWD, "demo:password"); curl_easy_setopt(hnd, CURLOPT_WILDCARDMATCH, 1L); ret = curl_easy_perform(hnd); curl_easy_cleanup(hnd); hnd = NULL; return (int)ret; }
This problem does not exist in the curl tool because this is rejected by tool_urlglob.c.
Discovered by OSS-Fuzz: https://oss-fuzz.com/v2/testcase-detail/4564121254100992
The text was updated successfully, but these errors were encountered:
curl_fnmatch: return error on illegal [] wildcard pattern
d21f82c
... instead of doing an infinite loop! Added test 1162 to verify. Reported-by: Max Dymond Fixes #2015
f0364f7
No branches or pull requests
I did this
This sample code hits an infinite loop in curl_fnmatch.c
This problem does not exist in the curl tool because this is rejected by tool_urlglob.c.
Discovered by OSS-Fuzz: https://oss-fuzz.com/v2/testcase-detail/4564121254100992
The text was updated successfully, but these errors were encountered: