aboutsummaryrefslogtreecommitdiff
path: root/rust/helpers.c
diff options
context:
space:
mode:
authorMark Brown <[email protected]>2023-12-22 14:54:37 +0000
committerPaul Moore <[email protected]>2023-12-22 18:00:37 -0500
commitea67677dbb0d30b993b15790d6cee24c900dd597 (patch)
tree77082ae753a9d25a2fd6ccbfffa8a7df4b9a6842 /rust/helpers.c
parentec4e9d630a64df500641892f4e259e8149594a99 (diff)
lsm: Add a __counted_by() annotation to lsm_ctx.ctx
The ctx in struct lsm_ctx is an array of size ctx_len, tell the compiler about this using __counted_by() where supported to improve the ability to detect overflow issues. Reported-by: Aishwarya TCV <[email protected]> Signed-off-by: Mark Brown <[email protected]> Signed-off-by: Paul Moore <[email protected]>
Diffstat (limited to 'rust/helpers.c')
0 files changed, 0 insertions, 0 deletions