Package: id3lib-3.8.3
Version: 3.8.3-7.2
Severity: normal 
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu karmic ubuntu-patch

In Ubuntu bug http://launchpad.net/bugs/399423, Thomas Eschenbacher
found that id3lib3.8.3 crashes in ID3_TagHeader::Size() due to a missing
null pointer check when parsing some mp3 files.  He reported the bug
upstream at
http://sourceforge.net/tracker/?func=detail&aid=2821464&group_id=979&atid=100979
but it has not yet been looked at or incorporated.  The patch is
attached.

Thanks,
-- 
Brian Murray                                                 @ubuntu.com
--- id3lib-3.8.3/src/header_tag.cpp.orig	2003-03-02 01:23:00.000000000 +0100
+++ id3lib-3.8.3/src/header_tag.cpp	2009-07-13 22:54:21.000000000 +0200
@@ -54,7 +54,7 @@
 {
   size_t bytesUsed = ID3_TagHeader::SIZE;
 
-  if (_info->is_extended)
+  if (_info && _info->is_extended)
   {
     bytesUsed += _info->extended_bytes;
   }

Attachment: signature.asc
Description: Digital signature

Reply via email to