1 result · Feed
-
Unscored —
`Array::insert` violates exception safety if compare function panics, leading to potential Double-Free
In affected versions of this crate, `Array::insert` is not exception safe. In the `UPSERT` path, `key` and `value`'s snapshot is written to `self.data_block`, and after the insertion is completed, `key` and `value` are `mem::forget` in order to prevent double…