<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>Hello,<br/></div><div><br/></div><div>a program I wrote uses taglib to read the metadata of my music files. It was working just fine until I tried it with an Ogg FLAC file which resulted in a SIGSEGV. By using valgrind I realized that the reason is a stack overflow. Unfortunately I couldn't find a mistake in my code that could create such an error. But when I was checking the sources of taglib, I found that Taglib::Ogg::FLAC::File doesn't seem to overwrite the ugly Taglib::File::properties, so that every call to dynamic_cast<const Ogg::FLAC::File* >(this)->properties(); ends again within the same method.<br/></div><div><br/></div><div>I'm not sure if I understood the code correctly, but I think it should just work to copy the code for "properties" and "setProperties" used for vorbis to the flac code (see attached patches).<br/></div><div><br/></div><div>Anyway thanks for reading my mail and for creating such a useful library.<br/></div><div><br/></div><div>Best Regards<br/></div></div></body></html>