Lucene search
+L

2 matches found

Github Security Blog
Github Security Blog
added 2023/03/07 8:13 p.m.17 views

Maligned causes incorrect deallocation

maligned::alignfirst manually allocates with an alignment larger than T, and then uses Vec::fromrawparts on that allocation to get a Vec. GlobalAlloc::dealloc requires that the layout argument must be the same layout that was used to allocate that block of memory. When deallocating, Box and Vec m...

2.2AI score
SaveExploits0References4Affected Software1
RustSec
RustSec
added 2023/03/04 12:0 p.m.21 views

`maligned::align_first` causes incorrect deallocation

maligned::alignfirst manually allocates with an alignment larger than T, and then uses Vec::fromrawparts on that allocation to get a Vec. GlobalAlloc::dealloc requires that the layout argument must be the same layout that was used to allocate that block of memory. When deallocating, Box and Vec m...

2.2AI score
SaveExploits0
Rows per page
Query Builder