Re: [Openexr-devel] Non initialized array

2016-11-22 Thread Paul Miller
On 11/22/2016 10:11 AM, Michel Lerenard wrote: On 11/22/2016 04:55 PM, Paul Miller wrote: On 11/22/2016 8:28 AM, Michel Lerenard wrote: The lineSampleCount array is never reset. The code calls _data->lineSampleCount.resizeErase(_data->maxY - _data->minY + 1); in initialize(), then in the execu

Re: [Openexr-devel] Non initialized array

2016-11-22 Thread Michel Lerenard
On 11/22/2016 04:55 PM, Paul Miller wrote: On 11/22/2016 8:28 AM, Michel Lerenard wrote: The lineSampleCount array is never reset. The code calls _data->lineSampleCount.resizeErase(_data->maxY - _data->minY + 1); in initialize(), then in the execute function of the buffer task, we increment the

Re: [Openexr-devel] Non initialized array

2016-11-22 Thread Paul Miller
On 11/22/2016 8:28 AM, Michel Lerenard wrote: The lineSampleCount array is never reset. The code calls _data->lineSampleCount.resizeErase(_data->maxY - _data->minY + 1); in initialize(), then in the execute function of the buffer task, we increment the values of the cells, although they have nev

[Openexr-devel] Non initialized array

2016-11-22 Thread Michel Lerenard
Hi, while debugging a weird issue (code crashing when embedded in my app and not crashing when standalone), I came across an issue in the DeepOutputScanlineFile class. The lineSampleCount array is never reset. The code calls _data->lineSampleCount.resizeErase(_data->maxY - _data->minY + 1);