Hello community,

here is the log from the commit of package cdrtools for openSUSE:Leap:15.2 
checked in at 2020-05-14 06:51:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/cdrtools (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.cdrtools.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cdrtools"

Thu May 14 06:51:14 2020 rev:18 rq:803504 version:3.02~a09

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/cdrtools/cdrtools.changes      2020-01-15 
14:49:36.781385722 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.cdrtools.new.2738/cdrtools.changes    
2020-05-14 06:51:15.339673707 +0200
@@ -1,0 +2,6 @@
+Sun May 10 12:29:53 UTC 2020 - Adam Majer <[email protected]>
+
+- large_mac_iso.patch: correct an integer overflow in chrp-boot
+  where ISO sizes that are larger than 4GB (bsc#1169420)
+
+-------------------------------------------------------------------

New:
----
  large_mac_iso.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ cdrtools.spec ++++++
--- /var/tmp/diff_new_pack.TgLPZK/_old  2020-05-14 06:51:16.059675260 +0200
+++ /var/tmp/diff_new_pack.TgLPZK/_new  2020-05-14 06:51:16.063675268 +0200
@@ -37,6 +37,7 @@
 # Honor 
https://en.opensuse.org/openSUSE:Packaging_Patches_guidelines#Upstream_policy
 # and submit patches upstream FIRST (cc to the bspkg maintainer perhaps).
 Patch10:        fix_chrp_boot.patch
+Patch11:        large_mac_iso.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  fdupes
 BuildRequires:  libcap-devel
@@ -123,6 +124,7 @@
 %setup -qn cdrtools-3.02
 %patch -P 1 -p1
 %patch10 -p1
+%patch11 -p1
 
 %build
 #

++++++ large_mac_iso.patch ++++++
Index: cdrtools-3.02/mkisofs/mac_label.c
===================================================================
--- cdrtools-3.02.orig/mkisofs/mac_label.c
+++ cdrtools-3.02/mkisofs/mac_label.c
@@ -67,8 +67,8 @@ gen_prepboot_label(ml)
 {
        struct directory_entry *de;
        int             i = 0;
-       int             block;
-       int             size;
+       unsigned block;
+       unsigned size;
        MacLabel        *mac_label = (MacLabel *) ml;
 
        if (verbose > 1) {
@@ -98,7 +98,7 @@ gen_prepboot_label(ml)
                mac_label->image[i].startSect[2] = 0;
                mac_label->image[i].startSect[3] = 0;
 
-               size = (last_extent - session_start) * 2048 / 512;
+               size = (unsigned)(last_extent - session_start) * (2048 / 512);
                mac_label->image[i].size[0] = size & 0xff;
                mac_label->image[i].size[1] = (size >> 8) & 0xff;
                mac_label->image[i].size[2] = (size >> 16) & 0xff;
@@ -115,7 +115,7 @@ gen_prepboot_label(ml)
                        /* NOTREACHED */
                }
                /* get size and block in 512-byte blocks */
-               block = get_733(de->isorec.extent) * 2048 / 512;
+               block = get_733(de->isorec.extent) * (2048 / 512);
                size = get_733(de->isorec.size) / 512 + 1;
                fprintf(stderr, _("PReP boot partition %d is \"%s\"\n"),
                        i + 1, prep_boot_image[i - use_chrp_boot]);

Reply via email to