Date: Mon, 22 Jul 2019 20:23:05 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 239385] syslog: make it posible to have "." in app_name Message-ID: <bug-239385-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D239385 Bug ID: 239385 Summary: syslog: make it posible to have "." in app_name Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: bugs.freebsd.org@reg.a0fs.net App_name field in current syslog message parsed with this code: ----- >8 ------- app_name_length =3D strspn(m, "abcdefghijklmnopqrstuvwxyz" "ABCDEFGHIJKLMNOPQRSTUVWXYZ" "0123456789" "_-/") ---- >8 -------- What if it will look like that: ----- >8 ------- app_name_length =3D strspn(m, "abcdefghijklmnopqrstuvwxyz" "ABCDEFGHIJKLMNOPQRSTUVWXYZ" "0123456789" "._-/") ---- >8 --------=20 to have something like `com.example.myprog[1234]` as valid identity? --=20 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-239385-227>