GitHub user Turan91 opened a pull request:
https://github.com/apache/commons-lang/pull/361
Add check to StringUtils.repeat() for large length results
I have added a check to ensure that the resultant String 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/361.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 #361
----
commit 4b8f68422040115b70e90f1fe40ba7962fc25664
Author: Turan Suleyman <turansuleyman@...>
Date: 2018-10-01T23:07:32Z
Added changes for StringUtils.repeat()
commit fa9c8b76dbe4264d0474c09288539e2e8c31f40f
Author: Turan Suleyman <turansuleyman@...>
Date: 2018-10-01T23:08:42Z
Added changes for StringUtils.repeat()
----
---