https://bugzilla.redhat.com/show_bug.cgi?id=2245689

            Bug ID: 2245689
           Summary: perl-WWW-Curl core dumps perl if use of setopt
                    CURLOPT_RESOLV
           Product: Fedora EPEL
           Version: epel9
          Hardware: All
                OS: Linux
            Status: NEW
         Component: perl-WWW-Curl
          Severity: medium
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected], [email protected],
                    [email protected],
                    [email protected]
  Target Milestone: ---
    Classification: Fedora



Description of problem:
If you try to use the setopt(CURLOPT_RESOLV, ...) option, perl core dumps. 
This was tracked down awhile but seems to not be fixed upstream.  A previous
commit in the upstream source for version 4.17 added #ifdef in Curl.xs for
building CURLOPT_RESOLV support but the ifdef for CURLOPT_RESOLV is always
false because CURLOPT_RESOLV is an enum and not a define.

Version-Release number of selected component (if applicable):


How reproducible:
Every time

Steps to Reproduce:
1. Install perl-WWW-Curl
1. Create program that uses WWW::Curl::Easy and does a setopt OPTCURL_RESOLV. 
Perl immediately crashes when it hits that line.
   An example simple source program and an explenation of the problem is
below...
   https://github.com/szbalint/WWW--Curl/issues/9

Additional info:
To fix it, removing the #ifdef for CURLOPT_RESOLV in the Curl.xs allows it to
be compiled into perl-WWW-Curl.


-- 
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2245689

Report this comment as SPAM: 
https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202245689%23c0
_______________________________________________
perl-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to