[Bug 2245689] New: perl-WWW-Curl core dumps perl if use of setopt
CURLOPT_RESOLV
by bugzilla@redhat.com
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(a)seyman.fr
Reporter: agibson2(a)gmail.com
QA Contact: extras-qa(a)fedoraproject.org
CC: emmanuel(a)seyman.fr, mspacek(a)redhat.com,
perl-devel(a)lists.fedoraproject.org,
xavier(a)bachelot.org
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-...
6 months, 2 weeks