Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 746849 - curl does not support --delegation even though it was added to libcurl
curl does not support --delegation even though it was added to libcurl
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: curl (Show other bugs)
5.7
All Linux
medium Severity medium
: rc
: ---
Assigned To: Kamil Dudka
Dalibor Pospíšil
: FutureFeature
Depends On: 730445
Blocks:
  Show dependency treegraph
 
Reported: 2011-10-17 19:50 EDT by Jr Aquino
Modified: 2012-10-10 05:47 EDT (History)
4 users (show)

See Also:
Fixed In Version: curl-7.15.5-15.el5
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-02-21 01:15:34 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
backport of upstream commits 5538904 and 8bd877d (4.06 KB, patch)
2011-10-27 05:47 EDT, Kamil Dudka
ovasik: review+
Details | Diff


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2012:0241 normal SHIPPED_LIVE curl bug fix and enhancement update 2012-02-20 10:07:27 EST

  None (edit)
Description Jr Aquino 2011-10-17 19:50:22 EDT
Description of problem:
libcurl was backported/updated to support credential delegation.  The curl binary itself appears to be missing the flag entirely.

Version-Release number of selected component (if applicable):
curl-7.15.5-9.el5_7.4

How reproducible:
100%

Steps to Reproduce:
1. curl --delegation
2. curl: option --delegation: is unknown

Actual results:
curl --delegation
curl: option --delegation: is unknown

Expected results:
curl --delegation
curl: option --delegation: requires parameter

Additional info:
Comment 1 Kamil Dudka 2011-10-18 02:37:23 EDT
This is known issue.  We already track an el6 sibling of this bug: bug 730445
Comment 6 Kamil Dudka 2011-10-27 05:47:15 EDT
Created attachment 530452 [details]
backport of upstream commits 5538904 and 8bd877d
Comment 7 Ondrej Vasik 2011-10-27 10:23:02 EDT
Comment on attachment 530452 [details]
backport of upstream commits 5538904 and 8bd877d

Looks sane, the only thing I was worried about was if the warnf is handling char * str correctly. I found one strange thing in the function though - two va_start(ap, fmt);
calls ... however, this is not coming from your patch (and is fixed in Fedora).
Comment 8 Kamil Dudka 2011-10-27 13:30:00 EDT
Good catch.  This was fixed in the following upstream commit:

https://github.com/bagder/curl/commit/c0f3e32

... but I did not find any problems resulting from this mistake reported on the upstream mailing list.  I am not sure whether it should be fixed with this bug since it has wider scope than the --delegation option of curl.

Do you have any preferences on that?
Comment 9 Ondrej Vasik 2011-10-27 13:50:00 EDT
I think we could keep it there as it is - it seems to be harmless - and has no connection with your patch.
Comment 10 Kamil Dudka 2011-10-27 17:59:03 EDT
Then I will apply the current version of the patch.  Thanks for review!
Comment 19 errata-xmlrpc 2012-02-21 01:15:34 EST
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2012-0241.html

Note You need to log in before you can comment on or make changes to this bug.