Commit f64296c
Fix shared memory corruption and ELF parsing infinite loop
- Move memset inside shm_exists check to avoid corrupting existing
shared memory during re-initialization (fixes daemon attach failure)
- Add check for zero aligned sizes in ELF note parsing to prevent
infinite loop on 32-bit systems with malformed notes
Co-Authored-By: Claude Opus 4.5 <[email protected]>1 parent 71ea60d commit f64296c
File tree
2 files changed
+10
-3
lines changed- src/backends/native
- minidump
2 files changed
+10
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
840 | 840 | | |
841 | 841 | | |
842 | 842 | | |
843 | | - | |
| 843 | + | |
| 844 | + | |
| 845 | + | |
844 | 846 | | |
845 | 847 | | |
| 848 | + | |
| 849 | + | |
846 | 850 | | |
847 | 851 | | |
848 | 852 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
121 | | - | |
122 | | - | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
123 | 126 | | |
124 | 127 | | |
125 | 128 | | |
| |||
0 commit comments