Added advisory for pyo3 reference counting issue

This commit is contained in:
Alex Gaynor
2020-11-28 15:43:56 -05:00
committed by GitHub
parent 4c6de3973f
commit b9eed83776

View File

@@ -0,0 +1,17 @@
```toml
[advisory]
id = "RUSTSEC-0000-0000"
package = "pyo3"
date = "2020-11-28"
url = "https://github.com/PyO3/pyo3/pull/1297"
keywords = ["memory-corruption"]
[versions]
patched = [">= 0.12.4"]
unaffected = ["< 0.12.0"]
```
# Reference counting error in `From<Py<T>>`
A bug in `From<Py<T>>` would lead to an extra reference count decrement, often
leading to use-after-free issues.