mirror of https://github.com/aya-rs/aya
Ensure log buffer bounds
This change adds checks in `TagLenValue.write()` to ensure that the size of written data doesn't exceed the buffer size. Verifier in recent kernel versions requires the bound to be a constant value, so using `buf.len()` does not work. Signed-off-by: Michal Rostecki <vadorovsky@gmail.com>pull/350/head
parent
6aea880890
commit
2e0702854b
Loading…
Reference in New Issue