[Bug 2245689] New: perl-WWW-Curl core dumps perl if use of setopt CURLOPT_RESOLV

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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: emmanuel@xxxxxxxxx
          Reporter: agibson2@xxxxxxxxx
        QA Contact: extras-qa@xxxxxxxxxxxxxxxxx
                CC: emmanuel@xxxxxxxxx, mspacek@xxxxxxxxxx,
                    perl-devel@xxxxxxxxxxxxxxxxxxxxxxx,
                    xavier@xxxxxxxxxxxx
  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 -- perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to perl-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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/perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite Information]

  Powered by Linux