rpms/libcdio/devel libcdio-info-buffer.patch, 1.1, 1.2 libcdio.spec, 1.25, 1.26

Adrian Reber (adrian) fedora-extras-commits at redhat.com
Fri Jan 4 09:50:45 UTC 2008


Author: adrian

Update of /cvs/extras/rpms/libcdio/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv6809

Modified Files:
	libcdio-info-buffer.patch libcdio.spec 
Log Message:
* Fri Jan 04 2008 Adrian Reber <adrian at lisas.de> - 0.79-2
- fixed security fix (was off by two)


libcdio-info-buffer.patch:

Index: libcdio-info-buffer.patch
===================================================================
RCS file: /cvs/extras/rpms/libcdio/devel/libcdio-info-buffer.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- libcdio-info-buffer.patch	2 Jan 2008 13:02:02 -0000	1.1
+++ libcdio-info-buffer.patch	4 Jan 2008 09:50:28 -0000	1.2
@@ -6,7 +6,7 @@
        char *psz_iso_name = p_statbuf->filename;
        char _fullname[4096] = { 0, };
 -      char translated_name[MAX_ISONAME+1];
-+      char *translated_name = (char *) alloca(strlen(psz_iso_name+1));
++      char *translated_name = (char *) alloca(strlen(psz_iso_name)+1);
  
        if (yep != p_statbuf->rr.b3_rock || 1 == opts.no_rock_ridge) {
  	iso9660_name_translate_ext(psz_iso_name, translated_name, 
@@ -18,7 +18,7 @@
        char *psz_iso_name = p_statbuf->filename;
        char _fullname[4096] = { 0, };
 -      char translated_name[MAX_ISONAME+1];
-+      char *translated_name = (char *) alloca(strlen(psz_iso_name+1));
++      char *translated_name = (char *) alloca(strlen(psz_iso_name)+1);
 +
  
        if (yep != p_statbuf->rr.b3_rock || 1 == opts.no_rock_ridge) {


Index: libcdio.spec
===================================================================
RCS file: /cvs/extras/rpms/libcdio/devel/libcdio.spec,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- libcdio.spec	2 Jan 2008 13:02:02 -0000	1.25
+++ libcdio.spec	4 Jan 2008 09:50:28 -0000	1.26
@@ -1,6 +1,6 @@
 Name:           libcdio
 Version:        0.79
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        CD-ROM input and control library
 
 Group:          Applications/Multimedia
@@ -37,7 +37,7 @@
 %prep
 %setup -q
 %patch -p3
-f=src/cd-paranoia/doc/jp/cd-paranoia.1.in
+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
 
 
@@ -113,6 +113,9 @@
 
 
 %changelog
+* Fri Jan 04 2008 Adrian Reber <adrian at lisas.de> - 0.79-2
+- fixed security fix (was off by two)
+
 * Wed Jan 02 2008 Adrian Reber <adrian at lisas.de> - 0.79-1
 - updated to 0.79
 - fixes #427197 (Long Joliet file name overflows cdio's buffer)




More information about the fedora-extras-commits mailing list