arthurscchan opened a new pull request, #220:
URL: https://github.com/apache/commons-codec/pull/220

   This fixes a possible StringIndexOutOfBoundException in 
[src/main/java/org/apache/commons/codec/language/MatchRatingApproachEncoder.java](https://github.com/apache/commons-codec/blob/master/src/main/java/org/apache/commons/codec/language/MatchRatingApproachEncoder.java)
   
   This PR adds some conditional checking to ensure the string is not empty 
after each method call. If it is empty after any method call, it will simply 
return EMPTY and avoid continuing processing onto the next processing method.
   
   We found this bug using fuzzing by way of OSS-Fuzz. It is reported at 
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=64359.


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