guohao15 opened a new pull request, #17557:
URL: https://github.com/apache/nuttx/pull/17557
## Summary
The value returned by sizeof(struct note_start_s) is larger than the actual
memory footprint of struct note_start_s.
This causes the length calculated in sched_note_start to be larger than the
actual memory size,which further leads to out-of-bounds reads in note_common.
## Impact
fix out-of-bounds reads bug in note_common
## Testing
1 sim with note and kasan enable
2 use a long name command can reproduce such as:
vela_fs_multi_thread_read_test testPath=/data dataLen=100
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]