commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arul Nedumaran (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (LOGGING-164) RandomStringUtils' random method infinite loop
Date Fri, 11 Nov 2016 03:43:58 GMT

     [ https://issues.apache.org/jira/browse/LOGGING-164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Arul Nedumaran closed LOGGING-164.
----------------------------------
    Resolution: Invalid

Sorry raised in the wrong component.

> RandomStringUtils' random method infinite loop
> ----------------------------------------------
>
>                 Key: LOGGING-164
>                 URL: https://issues.apache.org/jira/browse/LOGGING-164
>             Project: Commons Logging
>          Issue Type: Bug
>            Reporter: Arul Nedumaran
>
> The following code goes into an infinite loop.
> RandomStringUtils.random(1, 0, 0, false, true, new char[] { 'a' })
> I know it doesn't make sense to pass letters=false and then an array, but a bug in the
caller will fall into this trap.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message