[Gdal-dev] Re: [Tiff] TIFFGetConfiguredCODECs bug
Frank Warmerdam
warmerdam at pobox.com
Thu Sep 30 10:14:18 EDT 2004
Julien Demaria wrote:
> Hi,
>
> In the current libtiff and GDAL CVS there is a bug in the new
> TIFFGetConfiguredCODECs function :
>
> for (cd = registeredCODECS; cd; cd = cd->next) {
> codecs = _TIFFrealloc(codecs, i * sizeof(TIFFCodec));
> _TIFFmemcpy(codecs + i - 1, cd->next, sizeof(TIFFCodec));
> i++;
> }
>
> the "cd->next" in _TIFFmemcpy shoul be "cd" only.
>
> This function crashs only if there is at least one registered
> non-builtin codec...
Julien,
I have submitted this in the libtiff bug database. Luckily we have caught
this in time to fix before the TIFF 3.7.0 final release.
http://bugzilla.remotesensing.org/show_bug.cgi?id=623
I would encourage you to add yourself to the cc list. You might also want
to add details to help me assess the risk this cases in GDAL.
Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Programmer for Rent
_______________________________________________
Tiff mailing list
Tiff at remotesensing.org
http://xserve.flids.com/mailman/listinfo/tiff
More information about the Gdal-dev
mailing list