Package: libtag1-dev
Version: 1.8-2
Severity: normal
File: libtag1

Dear Maintainer,

the following code leads to a segmentation fault.

------

#include <iostream>
#include <cstdio>
using namespace std;

#include <fileref.h>
#include <tag.h>

int main(int argc, char* argv[])
{
    TagLib::FileRef f("does-not-exists.ogg");

    if (f.isNull()) {
        cout << "Invalid file" << endl;
        return EXIT_FAILURE;
    }
    TagLib::String artist = f.tag()->artist(); // artist == "Frank Zappa"
    cout << artist << endl;

    return EXIT_SUCCESS;
}


------


This crashes gogglesmm when deleting a file from the hard drive which is still
registered in the database. This problem is fixed in version 1.9.1 of taglib.


Regards

Hendrik Rittich


-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (700, 'testing'), (650, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.10-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libtag1-dev depends on:
ii  libtag1c2a  1.8-2

libtag1-dev recommends no packages.

libtag1-dev suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to