diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-11-08 14:55:23 +0100 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-11-15 14:19:55 +0100 |
commit | ab4aea7b40f8977fe3d67875d0acb4032cf9d0c5 (patch) | |
tree | bd262fe139e6d515322acbd24832eb860de995f3 /include/sqfs/meta_reader.h | |
parent | 723a9e93adb9ba0501f2db449a56c7e0eace5c23 (diff) |
Extend is_filename_sane reserved character/name check
- Instead of an open coded version, check against a
list of bad names. On windows, the comparison needs
to be done case insensitive.
- If compiling for Windows, include the magic DOS
device names in that list.
- Also classify filenames as 'insane' if they contain
back slashes, on all platforms.
- If compiling for Windows, check for reserved characters.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'include/sqfs/meta_reader.h')
0 files changed, 0 insertions, 0 deletions