metsw24-max opened a new pull request, #661:
URL: https://github.com/apache/logging-log4cxx/pull/661

   This change replaces fixed-size exception message buffers with 
std::string-backed storage throughout the exception hierarchy.
   
   The previous implementation relied on manual buffer management and multiple 
bounded string/memory copy routines, including memcpy, strncpy, and strcpy 
variants, along with explicit truncation and null-termination handling.
   
   By migrating exception message storage to std::string, this patch:
   
   - removes manual buffer lifetime management
   - eliminates fixed-capacity truncation logic
   - removes unsafe/error-prone string copy patterns
   - improves memory-safety and code auditability
   - aligns exception handling with modern RAII-based C++ practices
   


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