diff options
| author | seteiro <[email protected]> | 2026-11-14 18:30:12 +0800 |
|---|---|---|
| committer | Rbb666 <[email protected]> | 2026-11-17 11:33:50 +0800 |
| commit | 4c8232815e43169e25cbcc217efdd36ee2cb64a0 (patch) | |
| tree | 315b716cb407fe6cfc7e8e2ecd692b2c7499f526 /components/external/SQLite-3.8.1/src/btree.h | |
| parent | 9ddb0249c0bf022f8d5efc9ff20d407247e5602d (diff) | |
[finsh] bound path auto-complete buffer copies
Fix #11839
In msh_auto_complete_path(), when the user inputs an excessively long
path string that exceeds DFS_PATH_MAX, attempting to concatenate and
resolve directory components in the fixed-size full_path buffer could
trigger a heap buffer overflow.
Check that the input path length does not exceed DFS_PATH_MAX before
allocating the buffer and attempting path resolution, aborting completion
safely when input is oversized.
Diffstat (limited to 'components/external/SQLite-3.8.1/src/btree.h')
0 files changed, 0 insertions, 0 deletions
