← Back to team overview

hugin-devs team mailing list archive

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

 

Hi Rogier,
I don't know what you mean above.  I just checked out the libpano source from SVN, noticed that the error was still there, applied your patch and committed.  This bug report will have to be moved to Panotools once that bug tracker is online on Launchpad

** Changed in: hugin
       Status: Confirmed => Fix Committed

-- 
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.