Bug 546289
| Summary: | uget uses libcurl API incorrectly and crashes on SIGSEGV | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | meo <meoaccess> | ||||||
| Component: | uget | Assignee: | Kamil Dudka <kdudka> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | low | ||||||||
| Version: | 12 | CC: | kdudka, mtasaka | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | All | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | abrt_hash:f5e0efed9627b1b5703ba4f91d1e15eee41b5205 | ||||||||
| Fixed In Version: | 1.5.0.1-1.fc12 | Doc Type: | Bug Fix | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2009-12-24 20:41:30 UTC | Type: | --- | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Attachments: |
|
||||||||
|
Description
meo
2009-12-10 15:54:27 UTC
Created attachment 377493 [details]
File: backtrace
Would you write here the detailed procedure how to reproduce the issue you see? ... once switching to curl. Created attachment 378798 [details] fix for uget http://curl.haxx.se/libcurl/c/curl_easy_setopt.html#CURLOPTWRITEFUNCTION Look at the libcurl API documentation. You can't set fwrite() as CURLOPT_WRITEFUNCTION. It expects a function with completely different signature as the callback. I wonder how this could ever work... I contacted the upstream and the upstream will take a look at this bug. http://urlget.svn.sourceforge.net/viewvc/urlget/trunk/src/ug_plugin_curl.c?r1=267&r2=266&pathrev=267 Thank you, Kamil. It seems that upstream applied your patch. uget-1.5.0.1-1.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/uget-1.5.0.1-1.fc12 uget-1.5.0.1-1.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/uget-1.5.0.1-1.fc11 The applied fix should indeed solve the above reported crash on Fedora. Thanks for releasing the update! As for the upstream patch itself, the "MSVC only" solution is still broken badly! Please point the upstream developers to the libcurl API documentation. To make it working, they need to implement their own function as callback! uget-1.5.0.1-1.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report. uget-1.5.0.1-1.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report. |