This project contains known security vulnerabilities. Find detailed information at the bottom.

Crate plotters


(11 total, 2 outdated, 1 insecure)

 chrono^ to date
 num-traits^ to date
 plotters-backend0.3.*0.3.0up to date
 plotters-bitmap0.3.*0.3.0up to date
 plotters-svg0.3.*0.3.0up to date
 font-kit^ of date
 lazy_static^ to date
 rusttype^ of date
 wasm-bindgen^0.2.620.2.73up to date
 web-sys^0.3.390.3.50up to date

Dev dependencies

(8 total, 4 outdated)

 criterion^ to date
 itertools^ of date
 plotters-bitmap0.3.*0.3.0up to date
 rand^ of date
 rand_distr^ of date
 rand_xorshift^ of date
 rayon^ to date
 wasm-bindgen-test^ to date

Security Vulnerabilities

image: Mutable reference with immutable provenance


A mutable reference to a struct was constructed by dereferencing a pointer obtained from slice::as_ptr. Instead, slice::as_mut_ptr should have been called on the mutable slice argument. The former performs an implicit reborrow as an immutable shared reference which does not allow writing through the derived pointer.

There is no evidence for miscompilation, exploitable or otherwise, caused by this bug. Further investigation on Zulip suggests that the unoptimized generated LLVM IR does not contain any UB itself, effectively mitigating further effects.