jmestwa-coder opened a new pull request, #654:
URL: https://github.com/apache/logging-log4cxx/pull/654

   ## Description
   
   * Harden `OptionConverter::toFileSize` to require full validation of size 
strings instead of accepting partially parsed values.
   * Reject malformed, negative, trailing-junk, and overflowed inputs such as:
   
     * `123abc`
     * `10XB`
     * `10MBjunk`
     * `-1MB`
   * Preserve documented valid formats including:
   
     * `10`
     * `10B`
     * `10 KB`
     * `10MB`
     * lowercase suffixes (`10kb`, `10mb`, `10gb`)
   * Add regression coverage for:
   
     * valid inputs
     * whitespace-separated suffixes
     * lowercase suffix handling
     * malformed input rejection
     * overflow and boundary handling


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