Merge pull request #376 from Qwaz/0013-simple-slab

simple-slab: `index()` allows out-of-bound read and `remove()` has off-by-one error
This commit is contained in:
Sergey "Shnatsel" Davidoff
2020-09-04 12:10:07 +02:00
committed by GitHub

View File

@@ -0,0 +1,12 @@
[advisory]
id = "RUSTSEC-0000-0000"
package = "simple-slab"
date = "2020-09-03"
title = "`index()` allows out-of-bound read and `remove()` has off-by-one error"
url = "https://github.com/nathansizemore/simple-slab/issues/2"
description = """
`Slab::index()` does not perform the boundary checking, which leads to out-of-bound read access. `Slab::remove()` copies an element from an invalid address due to off-by-one error, resulting in memory leakage and uninitialized memory drop.
"""
[versions]
patched = []