This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix [perl #52740] crash when localizing a symtab entry
[perl5.git]
/
sv.c
diff --git
a/sv.c
b/sv.c
index
8f94350
..
44307d4
100644
(file)
--- a/
sv.c
+++ b/
sv.c
@@
-3718,8
+3718,10
@@
Perl_sv_setsv_flags(pTHX_ SV *dstr, register SV* sstr, const I32 flags)
GvMULTI_on(dstr);
return;
}
- glob_assign_glob(dstr, sstr, dtype);
- return;
+ if (isGV_with_GP(sstr)) {
+ glob_assign_glob(dstr, sstr, dtype);
+ return;
+ }
}
if (dtype >= SVt_PV) {