Date: Thu, 13 Aug 2015 12:29:25 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 202289] mdconfig -l outputs nothing if filename of vnode backed disk has unsafe characters Message-ID: <bug-202289-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202289 Bug ID: 202289 Summary: mdconfig -l outputs nothing if filename of vnode backed disk has unsafe characters Product: Base System Version: 10.1-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: mmamkin@mail.ru "mdconfig -l" outputs nothing when there are vnode disks with '&' in filenames. I suppose this occurs because g_md_dumpconf() doesn't escapse unsafe characters in filenames: ... if (mp->type == MD_VNODE && mp->vnode != NULL) sbuf_printf(sb, "%s<file>%s</file>\n", indent, mp->file); -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-202289-8>