Package: augeas / 1.2.0-0.2+deb8u2
Metadata
Package | Version | Patches format |
---|---|---|
augeas | 1.2.0-0.2+deb8u2 | 3.0 (quilt) |
Patch series
view the series filePatch | File delta | Description |
---|---|---|
0001 Install vim addons into correct directory.patch | (download) |
doc/Makefile.am |
2 1 + 1 - 0 ! |
install vim addons into correct directory |
0002 Skip tests that need root privileges when fakeroot h.patch | (download) |
tests/test-put-mount-augnew.sh |
2 1 + 1 - 0 ! |
skip tests that need root privileges when fakeroot has been detected |
0003 Httpd Allow eol comments after section tags.patch | (download) |
lenses/httpd.aug |
9 6 + 3 - 0 ! |
httpd: allow eol comments after section tags |
0004 Httpd Include conf available directory.patch | (download) |
lenses/httpd.aug |
1 1 + 0 - 0 ! |
httpd: include /etc/apache2/conf-available directory |
0005 src pathx.c parse_name correctly handle trailing whi.patch | (download) |
src/pathx.c |
28 22 + 6 - 0 ! |
* src/pathx.c (parse_name): correctly handle trailing whitespace in names When a name ended in whitespace, we incorrectly assumed it was always ok to trim that whitespace. That is not true if that whitespace is escaped, i.e. if the path expression is something like '/x\ '. In that case, the name really needs to be literally 'x ', i.e., we can not trim that whitespace. The incorrect behavior led to turning '/x\ ' first into 'x\' and then, because we assume that '\' is always followed by a character inside the string, when we removed the escaping '\', we would read beyond the end of the intermediate string result; if we were lucky, that would lead to a crash, otherwise we'd continue with junk. We now make sure that escaped whitespace at the end of a string does not get stripped, avoiding all these headaches. Fixes RHBZ https://bugzilla.redhat.com/show_bug.cgi?id=1475621 (Cherry-picked, adapted from 4cca923b732990bec0c699b2e69911c2221b2498) |