Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/external/bsd/openresolv/dist
Module Name: src
Committed By: roy
Date: Fri Dec 12 14:05:28 UTC 2025
Modified Files:
src/external/bsd/openresolv/dist: resolvconf.in
Log Message:
resolvconf: Add a function to quote and escape input for eval
The prior fix could be worked around by this:
`echo "search '\$(touch /tmp/foo)'" | resolvconf -a bar`
We solve this by single quoting when needed and escaping single
quotes in the input.
Thanks to kre for the quoting function.
To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/external/bsd/openresolv/dist/resolvconf.in
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index