Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lib/chkname.c: Update regex for valid names
The maximum length of 32 wasn't being enforced in the code, and POSIX doesn't specify that maximum length either, so it seems it was an arbitrary limit of the past that doesn't exist any more. Use a regex that has no length limit. Closes: <#836> Link: <https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap09.html> Cc: Iker Pedrosa <[email protected]> Cc: Mike Frysinger <[email protected]> Signed-off-by: Alejandro Colomar <[email protected]>
- Loading branch information