GitHub user Turan91 opened a pull request:
https://github.com/apache/commons-lang/pull/362
Add a check to StringUtils.repeat() for large length repeat value
I have added a check to ensure that the resultant String from the repeat is
not larger than the maximum allowed length.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/Turan91/commons-lang master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/commons-lang/pull/362.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #362
----
commit cc0ea0cf47fcb27f2da6e48770a770274825b32d
Author: Turan Suleyman <turansuleyman@...>
Date: 2018-10-01T23:34:47Z
Added changes for StringUtils.repeat()
commit 3acb09d40d3c2be99ae8049f60d2b66bb46b7fef
Author: Turan Suleyman <turansuleyman@...>
Date: 2018-10-01T23:36:48Z
Added changes for StringUtils.repeat()
----
---