Bug 1206894 - Wrong truncation of MSF block addresses
Summary: Wrong truncation of MSF block addresses
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: libcdio
Version: 21
Hardware: All
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Adrian Reber
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-03-29 11:41 UTC by Christian Bauer
Modified: 2015-04-18 09:44 UTC (History)
3 users (show)

Fixed In Version: libcdio-0.92-4.fc21
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-04-18 09:44:40 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Christian Bauer 2015-03-29 11:41:00 UTC
libcdio-0.92-3 has a bug which causes problems when working with CD images that are larger than 31349 blocks (7 minutes).

Sample program to demonstrate the bug:

#include <stdio.h>
#include <cdio/cdio.h>

int main(void)
{
  msf_t m;
  cdio_lba_to_msf(31500, &m);
  printf("%02x %02x %02x\n", m.m, m.s, m.f);
  return 0;
}

$ gcc -lcdio -o test test.c
$ ./test
++ WARN: number of minutes (7) truncated to 99.
06 00 00

This is a known problem in libcdio and there is an upstream fix available:
http://git.savannah.gnu.org/gitweb/?p=libcdio.git;a=commit;h=02590813decacc76d5db5fd02042d6b99195bc46

Comment 1 Fedora Update System 2015-04-01 13:34:54 UTC
libcdio-0.92-4.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/libcdio-0.92-4.fc21

Comment 2 Christian Bauer 2015-04-01 21:16:30 UTC
libcdio-0.92-4 works for me, and the test program gives the expected result:

$ ./test
07 00 00

Thanks!

Comment 3 Fedora Update System 2015-04-01 22:25:47 UTC
Package libcdio-0.92-4.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing libcdio-0.92-4.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-5246/libcdio-0.92-4.fc21
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2015-04-18 09:44:40 UTC
libcdio-0.92-4.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.