Bug#855789: aliasing bug while setting array sizes

Conrad Sand armadebianbug855789 at fastmail.com
Mon Feb 27 05:42:31 UTC 2017


Hello,

I'm the upstream author of Armadillo.

In Armadillo 7.600.2, there are bugs in the conv() and conv2()
functions. The conv() and conv2() functions are used for signal and
image processing (convolutions). The bugs are exposed when the output of
the conv() or conv2() functions is set to be the same variable as one of
the input arguments (ie. the output variable is aliasing one of the
input variable). For example, the following will trigger the bugs:
  y = conv(y,x)
  y = conv2(y,x);

These are in effect data corruption bugs.

The patch (as listed by Kumar Appaiah in bug 855592 at bugs.debian.org)
fixes the aliasing bugs by moving the initialisation of the output array
to be done after pre-processing of the input arrays.

The patch is a pure bug fix, and there is no new functionality
introduced.

With regards,
Conrad


On 21 February 2017 at 05:15, Ivo De Decker wrote:
> Control: tags -1 moreinfo
>
> Hi,
>
> On Mon, Feb 20, 2017 at 08:57:32PM +0530, Kumar Appaiah wrote:
>> Please unblock package armadillo. Upstream has sent the following
>> patch as a bug fix. I have CCed upstream (Conrad) here for any
>> questions that may arise.
>>
>> Please let me know if there is any further clarification or action
>> required from my side.
>
> There is no reference to any bug which describes the issue that is fixed.
> Could you add that (and remove the moreinfo tag from this bug when you do so)?
>
> Cheers,
>
> Ivo
>



More information about the debian-science-maintainers mailing list