Skip to content

Commit

Permalink
Exploration of bug reported in GH Perl#22487
Browse files Browse the repository at this point in the history
OP appears to report that this patch fixed a segfault involving libcurl.

This built and tested successfully on Linux with this configuration:

  $ ./perl -Ilib -V:config_args
  config_args='-des -Dusedevel -Duseithreads';

Perl#22487.
  • Loading branch information
jkeenan committed Aug 7, 2024
1 parent c6e8efa commit bc617b3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mg.c
Original file line number Diff line number Diff line change
Expand Up @@ -1562,6 +1562,10 @@ Perl_csighandler3(int sig, Siginfo_t *sip PERL_UNUSED_DECL, void *uap PERL_UNUSE
dTHXa(PERL_GET_SIG_CONTEXT);
#else
dTHX;
if (!my_perl) {
my_perl = PL_curinterp;
PERL_SET_THX(my_perl);
}
#endif

#ifdef PERL_USE_3ARG_SIGHANDLER
Expand Down

0 comments on commit bc617b3

Please sign in to comment.