Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
5.1 EE SP5 (5.1.8), 5.2 EE SP4 (5.2.8) , 6.0 EE (6.0.10)
Description
StringUtil.replace(String s, String oldSub, String newSub) will go into an infinite loop if the second argument is an empty string.
Attachments
Issue Links
- is related to
-
LPS-12351 com.liferay.portal.kernel.util.StringUtil can cause java.lang.OutOfMemory
- Closed