Lucene search
+L

1 matches found

RustSec
RustSec
added 2023/04/17 12:0 p.m.17 views

Adverserial use of `make_bitflags!` macro can cause undefined behavior

The macro relied on an expression of the form Enum::Variant always being a variant of the enum. However, it may also be an associated integer constant, in which case there's no guarantee that the value of said constant consists only of bits valid for this bitflag type. Thus, code like this could...

6.8AI score
SaveExploits0Affected Software1
Rows per page
Query Builder