Lucene search
+L

2 matches found

OSV
OSV
•added 2020/04/11 12:00 p.m.•71 views

RUSTSEC-2020-0009 `read_scalar` and `read_scalar_at` allow transmuting values without `unsafe` blocks

The readscalar and readscalarat functions are unsound because they allow transmuting values without unsafe blocks. The following example shows how to create a dangling reference: fn main deriveCopy, Clone, PartialEq, Debug struct S&'static str; impl flatbuffers::EndianScalar for S fn...

7.5CVSS7.2AI score0.00591EPSS
SaveExploits1References3
RustSec
RustSec
•added 2020/04/11 12:00 p.m.•59 views

`read_scalar` and `read_scalar_at` allow transmuting values without `unsafe` blocks

The readscalar and readscalarat functions are unsound because they allow transmuting values without unsafe blocks. The following example shows how to create a dangling reference: fn main deriveCopy, Clone, PartialEq, Debug struct S&'static str; impl flatbuffers::EndianScalar for S fn...

7.5CVSS7.2AI score0.00591EPSS
SaveExploits1Affected Software1
Rows per page
Query Builder