https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287615
Bug ID: 287615
Summary: Minor fix to quoting in jail.c
Product: Base System
Version: 14.3-STABLE
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: bin
Assignee: [email protected]
Reporter: [email protected]
Created attachment 261352
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=261352&action=edit
jail.c: Simple patch to quote strings that contain pipe symbol
I'm writing a helper script that will allow me to inspect jail.conf files set
eval-able strings so my script can examine jail configuration variables.
The primary mechanism for this is "jail -e" however there is one quoting
deficiency in ./usr.sbin/jail/jail.c. Strings containing a vertical bar or
pipe symbol are not quoted, such as:
ip4.addr=private|192.168.1.9/24
The attached patch corrects this behaviour.
Thank you for all your work on the project!
Regards,
Jim
--
You are receiving this mail because:
You are the assignee for the bug.