diff options
| author | Marek Vasut <[email protected]> | 2025-04-30 18:45:51 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-05-05 14:19:20 -0600 |
| commit | 4ba2fe14f2cecf7b614220e8e19c1fcdda92b748 (patch) | |
| tree | e29bdfe6cf6941ff1217d88d738941d9d02924c5 /doc/develop | |
| parent | 1c26f91a224b7ce222314b38c068acd1833599f4 (diff) | |
fs: exfat: Use strncpy() and bail on too long filenames
In case the filename is too long, longer than PATH_MAX - 1, it
would overflow dirs->dirname array. Add missing check and also
use strncpy() to prevent the overflow in any case.
Fixes CID 550305: Security best practices violations (STRING_OVERFLOW)
Signed-off-by: Marek Vasut <[email protected]>
Diffstat (limited to 'doc/develop')
0 files changed, 0 insertions, 0 deletions
