adrian pushed to libcdio (f21). "fixed #1206894 "Wrong truncation of MSF block addresses""
notifications at fedoraproject.org
notifications at fedoraproject.org
Wed Apr 1 12:39:45 UTC 2015
>From 2f62198403e10c581997107dce007e28142b9c67 Mon Sep 17 00:00:00 2001
From: Adrian Reber <adrian at lisas.de>
Date: Wed, 1 Apr 2015 14:39:13 +0200
Subject: fixed #1206894 "Wrong truncation of MSF block addresses"
diff --git a/02590813decacc76d5db5fd02042d6b99195bc46.patch b/02590813decacc76d5db5fd02042d6b99195bc46.patch
new file mode 100644
index 0000000..1807c03
--- /dev/null
+++ b/02590813decacc76d5db5fd02042d6b99195bc46.patch
@@ -0,0 +1,25 @@
+X-Git-Url: http://git.savannah.gnu.org/gitweb/?p=libcdio.git;a=blobdiff_plain;f=lib%2Fdriver%2Fsector.c;h=2a4e532d9c6002af381ae6d607ce290b0fb326dd;hp=4a5c04dadfab07f2399540e447929c94a97f33e8;hb=02590813decacc76d5db5fd02042d6b99195bc46;hpb=3e409de021299fefce02029dbc61a958df40f29b
+
+diff --git a/lib/driver/sector.c b/lib/driver/sector.c
+index 4a5c04d..2a4e532 100755
+--- a/lib/driver/sector.c
++++ b/lib/driver/sector.c
+@@ -1,5 +1,5 @@
+ /*
+- Copyright (C) 2004, 2005, 2011, 2012 Rocky Bernstein <rocky at gnu.org>
++ Copyright (C) 2004, 2005, 2011, 2012, 2014 Rocky Bernstein <rocky at gnu.org>
+ Copyright (C) 2000 Herbert Valerio Riedel <hvr at gnu.org>
+
+ This program is free software; you can redistribute it and/or modify
+@@ -81,9 +81,9 @@ cdio_lsn_to_msf (lsn_t lsn, msf_t *msf)
+ f = lsn + CDIO_CD_MAX_LSN;
+ }
+
+- if (m > 6) {
++ if (m > 99) {
+ cdio_warn ("number of minutes (%d) truncated to 99.", m);
+- m = 6;
++ m = 99;
+ }
+
+ msf->m = cdio_to_bcd8 (m);
diff --git a/libcdio.spec b/libcdio.spec
index cb45329..335f800 100644
--- a/libcdio.spec
+++ b/libcdio.spec
@@ -1,6 +1,6 @@
Name: libcdio
Version: 0.92
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: CD-ROM input and control library
Group: System Environment/Libraries
License: GPLv3+
@@ -9,6 +9,7 @@ Source0: http://ftp.gnu.org/gnu/libcdio/libcdio-0.92.tar.gz
Source1: http://ftp.gnu.org/gnu/libcdio/libcdio-0.92.tar.gz.sig
Source2: libcdio-no_date_footer.hml
Source3: cdio_config.h
+Patch0: 02590813decacc76d5db5fd02042d6b99195bc46.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: pkgconfig doxygen
BuildRequires: ncurses-devel
@@ -36,6 +37,7 @@ This package contains header files and libraries for %{name}.
%prep
%setup -q
+%patch0 -p1
f=src/cd-paranoia/doc/ja/cd-paranoia.1.in
iconv -f euc-jp -t utf-8 -o $f.utf8 $f && mv $f.utf8 $f
@@ -140,6 +142,9 @@ fi
%changelog
+* Wed Apr 01 2015 Adrian Reber <adrian at lisas.de> - 0.92-4
+- fixed #1206894 "Wrong truncation of MSF block addresses"
+
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.92-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/libcdio.git/commit/?h=f21&id=2f62198403e10c581997107dce007e28142b9c67
More information about the scm-commits
mailing list