Re: [PATCH] vvfat: create_long_filename: fix out-of-bounds array access

2025-01-30 Thread Michael Tokarev
19.01.2025 12:15, Michael Tokarev wrote: create_long_filename() intentionally uses direntry_t->name[8+3] array as a larger array. This works, but makes statid code analysis tools unhappy. The problem here is that a directory entry holding long file name is significantly different from regular d

[PATCH] vvfat: create_long_filename: fix out-of-bounds array access

2025-01-19 Thread Michael Tokarev
create_long_filename() intentionally uses direntry_t->name[8+3] array as a larger array. This works, but makes statid code analysis tools unhappy. The problem here is that a directory entry holding long file name is significantly different from regular directory entry, and the name is split into