[Bug 239385] syslog: make it posible to have "." in app_name
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Jul 22 20:23:05 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239385
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 at FreeBSD.org
Reporter: bugs.freebsd.org at reg.a0fs.net
App_name field in current syslog message parsed with this code:
----- >8 -------
app_name_length = strspn(m,
"abcdefghijklmnopqrstuvwxyz"
"ABCDEFGHIJKLMNOPQRSTUVWXYZ"
"0123456789"
"_-/")
---- >8 --------
What if it will look like that:
----- >8 -------
app_name_length = strspn(m,
"abcdefghijklmnopqrstuvwxyz"
"ABCDEFGHIJKLMNOPQRSTUVWXYZ"
"0123456789"
"._-/")
---- >8 --------
to have something like `com.example.myprog[1234]` as valid identity?
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list