rpms/libcdio/EL-5 libcdio-info-buffer.patch, 1.1, 1.2 libcdio.spec, 1.23, 1.24

Adrian Reber (adrian) fedora-extras-commits at redhat.com
Fri Jan 4 10:16:01 UTC 2008


Author: adrian

Update of /cvs/extras/rpms/libcdio/EL-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv14499

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


libcdio-info-buffer.patch:

Index: libcdio-info-buffer.patch
===================================================================
RCS file: /cvs/extras/rpms/libcdio/EL-5/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 14:09:38 -0000	1.1
+++ libcdio-info-buffer.patch	4 Jan 2008 10:15:41 -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/EL-5/libcdio.spec,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- libcdio.spec	2 Jan 2008 14:09:38 -0000	1.23
+++ libcdio.spec	4 Jan 2008 10:15:41 -0000	1.24
@@ -1,6 +1,6 @@
 Name:           libcdio
 Version:        0.78.2
-Release:        4%{?dist}
+Release:        5%{?dist}
 Summary:        CD-ROM input and control library
 
 Group:          Applications/Multimedia
@@ -113,6 +113,9 @@
 
 
 %changelog
+* Fri Jan 04 2008 Adrian Reber <adrian at lisas.de> - 0.78.2-5
+- fixed security fix (was off by two)
+
 * Wed Jan 02 2008 Adrian Reber <adrian at lisas.de> - 0.78.2-4
 - fixes #427197 (Long Joliet file name overflows cdio's buffer)
 




More information about the fedora-extras-commits mailing list