← Back to team overview

hugin-devs team mailing list archive

[Bug 678763] Re: Pano13: struct Image initialization error

 

P.S.: SVN1305

-- 
You received this bug notification because you are a member of Hugin
Developers, which is subscribed to Hugin.
https://bugs.launchpad.net/bugs/678763

Title:
  Pano13: struct Image initialization error

Status in Hugin - Panorama Tools GUI:
  Fix Committed

Bug description:
  The Pano13 source in the hugin SDK has a typo in line 849 of filter.c, in function SetImageDefaults(). It reads
  bzero(im->formatParam, sizeof(im->precomputedValue));
but should be
  bzero(im->precomputedValue, sizeof(im->precomputedValue));

This leaves 4 of the precomputed values uninitialized since formatParam starts 4 words before precomputedValue and overwrites precomputedCount with (another) zero.  

Unlikely to cause malfunction.