[Bug 287615] Minor fix to quoting in jail.c
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 287615] Minor fix to quoting in jail.c"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 287615] Minor fix to quoting in jail.c"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 287615] Minor fix to quoting in jail.c"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 287615] Minor fix to quoting in jail.c"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 287615] Minor fix to quoting in jail.c"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 287615] Minor fix to quoting in jail.c"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 287615] Implement NUL-terminated output in jail.c"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 287615] Implement NUL-terminated output in jail.c"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 287615] Implement NUL-terminated output for -e option in jail.c"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 287615] Implement NUL-terminated output for -e option in jail.c"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 287615] Implement NUL-terminated output for -e option in jail.c"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 287615] Implement NUL-terminated output for -e option in jail.c"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 287615] Implement NUL-terminated output for -e option in jail.c"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 287615] Implement NUL-terminated output for -e option in jail.c"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 17 Jun 2025 22:23:08 UTC
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: bugs@FreeBSD.org
Reporter: freebsd-bugzilla@umpquanet.com
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.