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

Luc Maisonobe resolved MATH-679.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 3.0

Fixed in subversion repository as of r1181181.

Thanks for the report and the workaround.
                
> Integer overflow in OpenMapRealMatrix
> -------------------------------------
>
>                 Key: MATH-679
>                 URL: https://issues.apache.org/jira/browse/MATH-679
>             Project: Commons Math
>          Issue Type: Bug
>    Affects Versions: 2.2
>            Reporter: Christopher Berner
>            Priority: Minor
>             Fix For: 3.0
>
>         Attachments: Flaw.java
>
>
> computeKey() has an integer overflow. Since it is a sparse matrix, this is 
> quite easily encountered long before heap space is exhausted. The attached 
> code demonstrates the problem, which could potentially be a security 
> vulnerability (for example, if one was to use this matrix to store access 
> control information).
> Workaround: never create an OpenMapRealMatrix with more cells than are 
> addressable with an int.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to