Commit f81e0af
committed
fix: tform: potential crash due to race when MODMAX/MODMIN
A worker could free a dollar variable's data, while another worker
is trying to read it. Lock the dollar variable before working out
its RHS in case the RHS depends on the dollar variable that is
being assigned.1 parent 9b0d11c commit f81e0af
1 file changed
Lines changed: 4 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
394 | 394 | | |
395 | 395 | | |
396 | 396 | | |
397 | | - | |
398 | | - | |
| 397 | + | |
| 398 | + | |
399 | 399 | | |
400 | 400 | | |
401 | | - | |
402 | | - | |
403 | | - | |
404 | | - | |
| 401 | + | |
405 | 402 | | |
406 | 403 | | |
407 | 404 | | |
| |||
445 | 442 | | |
446 | 443 | | |
447 | 444 | | |
448 | | - | |
449 | | - | |
450 | | - | |
451 | | - | |
452 | | - | |
453 | | - | |
| 445 | + | |
454 | 446 | | |
455 | 447 | | |
456 | 448 | | |
| |||
0 commit comments