[Bug 244226] [patch] syslogd converts all 8-bit chars to M-x sequences

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Feb 24 13:10:22 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244226

J.R. Oldroyd <fbsd at opal.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #211760|0                           |1
        is obsolete|                            |

--- Comment #4 from J.R. Oldroyd <fbsd at opal.com> ---
Created attachment 211894
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=211894&action=edit
patch to add locale support to syslogd when converting strings to "safe"
sequences

Updated patch to do better output buffer space checking and also to use the
MB_LEN_MAX constant for the input size limit.  In addition, I switched from
using iswgraph() to iswprint() because locale-specific space chars can also be
copied as they are.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list