Commit a2c4890
committed
Fix race condition in ALi IDE
The thread object was used to check the controller ID, however the object
didn't have to be assigned into the variable yet, causing a null pointer
segfault under some conditions.1 parent 3ad4f3d commit a2c4890
2 files changed
+3
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
442 | 442 | | |
443 | 443 | | |
444 | 444 | | |
445 | | - | |
| 445 | + | |
446 | 446 | | |
447 | 447 | | |
448 | 448 | | |
| |||
2464 | 2464 | | |
2465 | 2465 | | |
2466 | 2466 | | |
2467 | | - | |
2468 | | - | |
2469 | | - | |
| 2467 | + | |
2470 | 2468 | | |
2471 | 2469 | | |
2472 | 2470 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
195 | | - | |
| 195 | + | |
196 | 196 | | |
197 | 197 | | |
198 | 198 | | |
| |||
0 commit comments