swebb2066 commented on PR #584:
URL: https://github.com/apache/logging-log4cxx/pull/584#issuecomment-3845209964

   The proposed change does not correct the problem as the truncation still 
occurs when passing `startField` to `FormattingInfo::format` as its signature 
is:
   `void FormattingInfo::format(const int fieldStart, LogString& buffer) const`
   
   I suggest the correct solution is not calling `FormattingInfo::format` if 
the length exceeds `INT_MAX`


-- 
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]

Reply via email to