RustSec Advisory Database
RUSTSEC-2018-0021
Use-after-free with objects returned by `Stream`'s `get_format_info` and `get_context` methods
Details
Affected versions contained a pair of use-after-free issues with the objects returned by the get_format_info and get_context methods of Stream objects. These objects were mistakenly being constructed without setting an important flag to prevent destruction of the underlying C objects they reference upon their own destruction.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| crates.io | libpulse-binding | From 0.0.0-0 before 1.2.1 (fixed in 1.2.1) |