af_alg_iv::as_slice makes a slice of the struct data, but the fields are public. #1501
Open
Description
opened on Sep 4, 2019
af_alg_iv::as_slice makes a slice, but the fields are public and it's a public type, so you could construct a value, set the length to be some invalid value, and then call as_slice
to make a slice with an improper length, pointing into invalid memory.
Activity