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

Knut Anders Hatlen resolved DERBY-5012.
---------------------------------------

          Resolution: Fixed
            Assignee: Dave Brosius
    Issue & fix info:   (was: [Patch Available])

Thanks, Dag. All the regression tests ran cleanly with the no-alloc.diff patch. 
Committed revision 1068772.

> [patch] bad allocation guard in ResultSet#resetUpdatedColumnsForInsert
> ----------------------------------------------------------------------
>
>                 Key: DERBY-5012
>                 URL: https://issues.apache.org/jira/browse/DERBY-5012
>             Project: Derby
>          Issue Type: Bug
>          Components: Network Client
>    Affects Versions: 10.7.1.1
>            Reporter: Dave Brosius
>            Assignee: Dave Brosius
>            Priority: Trivial
>             Fix For: 10.8.0.0
>
>         Attachments: bad_allocation_guard.diff, no-alloc.diff
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> code checks to see if an array is _not_ null, and if so allocates the array. 
> This is backwards. Should check to see if the array is null.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to