summaryrefslogtreecommitdiff
path: root/sys/dev/usb
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2022-05-10 07:41:38 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2022-05-10 07:41:38 +0000
commit047a8ee8899f3f64582a55c36c345f51fcbe2ebb (patch)
treecc4fe22f3cd4eb04bafaf6086c52be322d278021 /sys/dev/usb
parent86ec6d969efe1cf0f6aabc9cc60252e935188120 (diff)
Validate RSC filenames
Factor out POSIX portable filename check into a new valid_filename() and rename the previous valid_filename() to valid_mft_filename(). Fixes and supersedes imcomplete checks in the RSC code. Avoids truncation via strndup() in case of embedded NULs. input/ok claudio
Diffstat (limited to 'sys/dev/usb')
0 files changed, 0 insertions, 0 deletions