Dirty pointer in TagLib::FLAC::FilePrivate::tag might lead to crash if no FLAC tags are read
Bjoern Petersen
silverjuke at gmail.com
Sat May 13 22:31:06 CEST 2006
2006/5/13, Diego 'Flameeyes' Pettenò <flameeyes at gentoo.org>:
> The subject pretty much summaries the problem :)
>
> The tag member of TagLib::FLAC::FilePrivate is not initialised, so it might
> lead to crashes when no tags are read from a FLAC file, as its de-referencing
> will point to nobody knows what (but doesn't return NULL).
It also seems as if the tag pointer, is not deleted in
TagLib::FLAC::~FilePrivate() (flacfile.cpp at line 61). Or have I
missed something?
Bjoern
--
http://www.silverjuke.net
More information about the taglib-devel
mailing list