SHA256
1
0
forked from pool/schily

- Update to release 2020.11.25

OBS-URL: https://build.opensuse.org/package/show/utilities/schily?expand=0&rev=123
This commit is contained in:
2020-11-26 11:02:01 +00:00
committed by Git OBS Bridge
parent 1f6af487f1
commit 5f74b4ff2f
5 changed files with 14 additions and 30 deletions

View File

@@ -1,24 +0,0 @@
From: Adam Majer <amajer@suse.com>
Date: 2020-11-20 17:31+0000
There is some uninitialized memory. For testing, you can reproduce
partition with
mkdir empty
valgrind --malloc-fill=0xba --track-origins=yes \
mkisofs -o test.iso -chrp-boot -part empty
hexdump -C test.iso
Index: cdrtools-3.02/libhfs_iso/internal.h
===================================================================
--- cdrtools-3.02.orig/libhfs_iso/internal.h
+++ cdrtools-3.02/libhfs_iso/internal.h
@@ -26,7 +26,7 @@
# define ERROR(code, str) (hfs_error = (str), errno = (code))
# define SIZE(type, n) ((size_t) (sizeof(type) * (n)))
-# define ALLOC(type, n) ((type *) malloc(SIZE(type, n)))
+# define ALLOC(type, n) ((type *) calloc(sizeof(type), n))
# define ALLOCX(type, n) ((n) ? ALLOC(type, n) : (type *) 0)
# define FREE(ptr) {if (ptr) free((void *) ptr) ;}

BIN
schily-2020-11-04.tar.bz2 (Stored with Git LFS)

Binary file not shown.

BIN
schily-2020-11-25.tar.bz2 (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,3 +1,12 @@
-------------------------------------------------------------------
Thu Nov 26 10:34:41 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
- Update to release 2020.11.25
* libhfs_iso: changed malloc() to calloc() to avoid
uninitialized data.
* ved: A new colon command (ESC : vhelp) has been added.
- Remove fix_junk_in_partition.patch (upstreamed)
-------------------------------------------------------------------
Fri Nov 20 16:38:12 UTC 2020 - Adam Majer <adam.majer@suse.de>

View File

@@ -17,14 +17,14 @@
# grep -Pir 'define\s+VERSION|strvers'
%global box_version 2020.11.04
%global box_version 2020.11.25
%global cdr_version 3.02~a10
%global sccs_version 5.09
%global smake_version 1.3
%global star_version 1.6.1
%global libfind_version 1.8
%global ved_version 1.8
%define rver 2020-11-04
%define rver 2020-11-25
Name: schily
Version: %box_version
@@ -41,7 +41,6 @@ Source1: README-FIRST
# and submit patches upstream FIRST (cc to the bspkg maintainer perhaps).
Patch1: iconv-name.diff
Patch2: schily-2018-05-25_star_configuration.patch
Patch3: fix_junk_in_partition.patch
BuildRequires: autoconf
BuildRequires: fdupes
BuildRequires: gcc-c++