[Rpm-maint] [rpm-software-management/rpm] Ban unprintable ASCII control characters in filenames (#768)

Panu Matilainen notifications at github.com
Wed Jun 26 12:26:30 UTC 2019

While technically legal in unix filesystems and easily handled in C code,
the sanity of using things like bell characters in filename is a whole
different matter, and hard to get right in our surrounding scripts.

One case in particular is our dependency generator which expects files
to be separated by newlines, so we couldn't fix that without breaking
the depgen "API" even if we wanted to.

Sanity demands banning the unprintable crap. This bans anything below
ASCII space character, and DEL. UTF-8 can contain other unprintable
material but lets not go there now...
You can view, comment on, or merge this pull request online at:


-- Commit Summary --

  * Ban unprintable ASCII control characters in filenames

-- File Changes --

    M build/files.c (18)

-- Patch Links --


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20190626/7cafbfc7/attachment.html>

More information about the Rpm-maint mailing list