Closed lempire123 closed 1 year ago
Several instances of lack of array bounds checks were identified in the engine-standalone-storage and engine-standalone-tracing crates.
engine-standalone-storage
engine-standalone-tracing
Recommendations
Implement checks to ensure values used when slicing arrays or referencing items from arrays are within array bound- aries.
Use safer alternatives, such as .get(n..m) or .get_mut(n..m)when accessing array elements.
.get(n..m)
.get_mut(n..m)
Several instances of lack of array bounds checks were identified in the
engine-standalone-storage
andengine-standalone-tracing
crates.Recommendations
Implement checks to ensure values used when slicing arrays or referencing items from arrays are within array bound- aries.
Use safer alternatives, such as
.get(n..m)
or.get_mut(n..m)
when accessing array elements.