Commit fb8188b
committed
fixup to "avoid identical stack traces"
GH #15109, #17567
My original fix for this issue, v5.31.6-141-gf2f32cd638
made a shallow copy of &PL_compiling. However, for non-default
warning bits, this made two COPs share the malloced() cop_warnings,
and bad things ensured. In particular this was flagged up in:
GH #17567: "BBC: AYOUNG/OpenVZ-0.01.tar.gz"
The fix in this commit is to do a deep copy of the COP using
newSTATEOP().1 parent 89561f3 commit fb8188b
4 files changed
+29
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5647 | 5647 | | |
5648 | 5648 | | |
5649 | 5649 | | |
| 5650 | + | |
5650 | 5651 | | |
5651 | 5652 | | |
5652 | 5653 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11598 | 11598 | | |
11599 | 11599 | | |
11600 | 11600 | | |
11601 | | - | |
11602 | | - | |
11603 | | - | |
11604 | | - | |
| 11601 | + | |
| 11602 | + | |
11605 | 11603 | | |
11606 | 11604 | | |
11607 | 11605 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
349 | 349 | | |
350 | 350 | | |
351 | 351 | | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
352 | 366 | | |
353 | 367 | | |
354 | 368 | | |
| |||
357 | 371 | | |
358 | 372 | | |
359 | 373 | | |
360 | | - | |
361 | | - | |
362 | | - | |
363 | | - | |
| 374 | + | |
364 | 375 | | |
365 | 376 | | |
| 377 | + | |
366 | 378 | | |
367 | 379 | | |
0 commit comments