Commit f21f8d6
committed
Fix crash due to freeing elements of m_serialDequeue twice.
In Profiler::DequeueSerial if AppendData fails part way through m_serialDequeue then the elements could be freed again in Profiler::ClearSerial, which leads to memory corruption in rpmalloc.1 parent 6e214ca commit f21f8d6
1 file changed
+7
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2846 | 2846 | | |
2847 | 2847 | | |
2848 | 2848 | | |
| 2849 | + | |
| 2850 | + | |
2849 | 2851 | | |
2850 | 2852 | | |
2851 | 2853 | | |
| |||
3145 | 3147 | | |
3146 | 3148 | | |
3147 | 3149 | | |
3148 | | - | |
| 3150 | + | |
| 3151 | + | |
| 3152 | + | |
| 3153 | + | |
3149 | 3154 | | |
3150 | 3155 | | |
3151 | 3156 | | |
| |||
3155 | 3160 | | |
3156 | 3161 | | |
3157 | 3162 | | |
3158 | | - | |
3159 | | - | |
3160 | | - | |
3161 | | - | |
3162 | | - | |
| 3163 | + | |
3163 | 3164 | | |
3164 | 3165 | | |
3165 | 3166 | | |
| |||
0 commit comments