The use of get_unchecked_mut beyond the boundaries of a slice, as is the case in the file node.rs, leads at best to a runtime panic, and at worst to completely undefined behavior.
All the integration tests for Turbofish OS are now working thanks to the following modifications. Even though I haven't noticed any memory violations with fsanitize=address, the code I'm presenting here looks a bit like bullshit, doesn't it?
The use of get_unchecked_mut beyond the boundaries of a slice, as is the case in the file node.rs, leads at best to a runtime panic, and at worst to completely undefined behavior.
All the integration tests for Turbofish OS are now working thanks to the following modifications. Even though I haven't noticed any memory violations with fsanitize=address, the code I'm presenting here looks a bit like bullshit, doesn't it?
:cow: