- Notifications
You must be signed in to change notification settings - Fork57
Commit78c348b
authored
Fix corruption when entry->buffer changed to nonleaf while unlocked. (#145)
The entry->buffer pointer is retrieved, but the underlying buffer can be modified by another thread before it's used, leading to invalid memory access and a segmentation fault. Now we check this case and return from the function.1 parent2b0eb97 commit78c348b
1 file changed
+8
-1
lines changedLines changed: 8 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
889 | 889 |
| |
890 | 890 |
| |
891 | 891 |
| |
892 |
| - | |
| 892 | + | |
| 893 | + | |
| 894 | + | |
| 895 | + | |
| 896 | + | |
| 897 | + | |
| 898 | + | |
| 899 | + | |
893 | 900 |
| |
894 | 901 |
| |
895 | 902 |
| |
|
0 commit comments
Comments
(0)