ramanathan1504 opened a new issue, #4455: URL: https://github.com/apache/logging-log4j2/issues/4455
With `useTlsMessageFormat="true"` and a `charset` other than UTF-8, `TlsSyslogFrame` counts MSG-LEN in UTF-8 (`TlsSyslogFrame.java:34`), but `Rfc5424Layout` writes the record in the configured charset. Any non-ASCII character gives a wrong length, and an RFC 5425 receiver loses the frame boundaries. Affected: 2.24.0 and later, since the charset became configurable in b593be7d88, and 3.0.0-beta3 and later. The default UTF-8 is not affected. Fix: compute MSG-LEN in the layout's charset. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
