diff options
author | John Ankarström <john@ankarstrom.se> | 2021-07-10 18:22:18 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2021-07-10 18:23:02 +0200 |
commit | 4c4fd309cf5c0ea28c17c9b90ebe073a66dcaf72 (patch) | |
tree | cc50bf7be9881c2f2090249c5a15821ab0a41510 /re.1 | |
parent | f731d36d9229a57844551ebcfe78c91a1e9a37ec (diff) | |
download | re-name-4c4fd309cf5c0ea28c17c9b90ebe073a66dcaf72.tar.gz |
name.c: Do not read more than MAXFILES lines
Diffstat (limited to 're.1')
-rw-r--r-- | re.1 | 14 |
1 files changed, 11 insertions, 3 deletions
@@ -69,10 +69,18 @@ are written by John Ankarström .Sh BUGS .Pp .Nm re -and +does not support file names containing newlines +and will exit with an error if provided with such file names. +.Pp .Nm name -do not support file names containing newlines -and will exit if provided with such file names. +uses hard-coded array sizes: +at most, one hundred 255-character file names can be processed. +While overflows are correctly handled, +they are silently ignored. +When processing very many or very long file names, +the use of the +.Fl x +flag is not recommended. .Pp The temporary file is placed at .Pa /var/tmp/re.$PPID , |