[arch-commits] Commit in fuseiso/repos (6 files)

2020-07-07 Thread Felix Yan via arch-commits
Date: Tuesday, July 7, 2020 @ 18:14:17
  Author: felixonmars
Revision: 660043

archrelease: copy trunk to community-staging-x86_64

Added:
  fuseiso/repos/community-staging-x86_64/
  fuseiso/repos/community-staging-x86_64/00-support_large_iso.patch
(from rev 660041, fuseiso/trunk/00-support_large_iso.patch)
  fuseiso/repos/community-staging-x86_64/01-fix_typo.patch
(from rev 660041, fuseiso/trunk/01-fix_typo.patch)
  fuseiso/repos/community-staging-x86_64/02-prevent-buffer-overflow.patch
(from rev 660041, fuseiso/trunk/02-prevent-buffer-overflow.patch)
  fuseiso/repos/community-staging-x86_64/03-prevent-integer-overflow.patch
(from rev 660041, fuseiso/trunk/03-prevent-integer-overflow.patch)
  fuseiso/repos/community-staging-x86_64/PKGBUILD
(from rev 660041, fuseiso/trunk/PKGBUILD)

---+
 00-support_large_iso.patch|   54 
 01-fix_typo.patch |   20 +
 02-prevent-buffer-overflow.patch  |   35 +++
 03-prevent-integer-overflow.patch |   16 ++
 PKGBUILD  |   41 +++
 5 files changed, 166 insertions(+)

Copied: fuseiso/repos/community-staging-x86_64/00-support_large_iso.patch (from 
rev 660041, fuseiso/trunk/00-support_large_iso.patch)
===
--- community-staging-x86_64/00-support_large_iso.patch 
(rev 0)
+++ community-staging-x86_64/00-support_large_iso.patch 2020-07-07 18:14:17 UTC 
(rev 660043)
@@ -0,0 +1,54 @@
+From: Thomas Bittermann
+Subject: handle larger than 4GB isos
+Origin: vendor, http://koji.fedoraproject.org/koji/buildinfo?buildID=149397
+Bug-Fedora: https://bugzilla.redhat.com/show_bug.cgi?id=440436
+
+---
+ src/isofs.c |6 +++---
+ src/isofs.h |6 +++---
+ 2 files changed, 6 insertions(+), 6 deletions(-)
+
+--- fuseiso.orig/src/isofs.c
 fuseiso/src/isofs.c
+@@ -178,7 +178,7 @@ int isofs_real_preinit( char* imagefile,
+ context.data_size = 
isonum_723(context.pd.logical_block_size);
+ 
+ if(!context.block_size) {
+-fprintf(stderr, "init: wrong block data size %d, 
using default 2048\n", context.data_size);
++fprintf(stderr, "init: wrong block data size %Lu, 
using default 2048\n", context.data_size);
+ context.data_size = 2048;
+ };
+ 
+@@ -324,7 +324,7 @@ void* isofs_real_init() {
+ 
+ if(context.block_size != 2048) {
+ // report unusual data block size
+-printf("Data block size: %d\n", context.block_size);
++printf("Data block size: %Lu\n", context.block_size);
+ };
+ 
+ char buf[129];
+@@ -479,7 +479,7 @@ static int isofs_read_raw_block(int bloc
+ };
+ size_t len = read(context.fd, buf, context.data_size);
+ if(len != context.data_size) {
+-fprintf(stderr, "isofs_read_raw_block: can`t read full block, read 
only %d bytes from offset %d, %d required; errno %d, message %s\n", 
++fprintf(stderr, "isofs_read_raw_block: can`t read full block, read 
only %d bytes from offset %d, %Lu required; errno %d, message %s\n", 
+ len, (int) off, context.data_size, errno, strerror(errno));
+ fprintf(stderr, "isofs_read_raw_block: huh? reading zeros beyond file 
end? someone want to save a penny?\n");
+ memset(buf + len, 0, context.data_size - len);
+--- fuseiso.orig/src/isofs.h
 fuseiso/src/isofs.h
+@@ -38,9 +38,9 @@ typedef struct _isofs_context {
+ struct iso_directory_record *root;
+ int file_offset; // offset to begin of useful data (for .nrg files)
+ int id_offset; // offset to CD001 inside file
+-size_t block_size; // raw block size
+-size_t block_offset; // offset from block start to data
+-size_t data_size; // data size inside block 
++off_t block_size; // raw block size
++off_t block_offset; // offset from block start to data
++off_t data_size; // data size inside block 
+ int susp; // parse susp entries
+ int susp_skip; // skip bytes from susp SP entry
+ int joliet_level; // joliet extension level (1, 2 or 3)

Copied: fuseiso/repos/community-staging-x86_64/01-fix_typo.patch (from rev 
660041, fuseiso/trunk/01-fix_typo.patch)
===
--- community-staging-x86_64/01-fix_typo.patch  (rev 0)
+++ community-staging-x86_64/01-fix_typo.patch  2020-07-07 18:14:17 UTC (rev 
660043)
@@ -0,0 +1,20 @@
+From: Jakub Wilk 
+Subject: fix typo in sourcecode
+Origin: vendor, http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=598021
+Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=598021
+
+---
+ src/fuseiso.c |2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- fuseiso.ori

[arch-commits] Commit in fuseiso/repos (6 files)

2018-11-09 Thread Evangelos Foutras via arch-commits
Date: Friday, November 9, 2018 @ 22:53:48
  Author: foutrelis
Revision: 405121

archrelease: copy trunk to community-staging-x86_64

Added:
  fuseiso/repos/community-staging-x86_64/
  fuseiso/repos/community-staging-x86_64/00-support_large_iso.patch
(from rev 405120, fuseiso/trunk/00-support_large_iso.patch)
  fuseiso/repos/community-staging-x86_64/01-fix_typo.patch
(from rev 405120, fuseiso/trunk/01-fix_typo.patch)
  fuseiso/repos/community-staging-x86_64/02-prevent-buffer-overflow.patch
(from rev 405120, fuseiso/trunk/02-prevent-buffer-overflow.patch)
  fuseiso/repos/community-staging-x86_64/03-prevent-integer-overflow.patch
(from rev 405120, fuseiso/trunk/03-prevent-integer-overflow.patch)
  fuseiso/repos/community-staging-x86_64/PKGBUILD
(from rev 405120, fuseiso/trunk/PKGBUILD)

---+
 00-support_large_iso.patch|   54 
 01-fix_typo.patch |   20 +
 02-prevent-buffer-overflow.patch  |   35 +++
 03-prevent-integer-overflow.patch |   16 ++
 PKGBUILD  |   41 +++
 5 files changed, 166 insertions(+)

Copied: fuseiso/repos/community-staging-x86_64/00-support_large_iso.patch (from 
rev 405120, fuseiso/trunk/00-support_large_iso.patch)
===
--- community-staging-x86_64/00-support_large_iso.patch 
(rev 0)
+++ community-staging-x86_64/00-support_large_iso.patch 2018-11-09 22:53:48 UTC 
(rev 405121)
@@ -0,0 +1,54 @@
+From: Thomas Bittermann
+Subject: handle larger than 4GB isos
+Origin: vendor, http://koji.fedoraproject.org/koji/buildinfo?buildID=149397
+Bug-Fedora: https://bugzilla.redhat.com/show_bug.cgi?id=440436
+
+---
+ src/isofs.c |6 +++---
+ src/isofs.h |6 +++---
+ 2 files changed, 6 insertions(+), 6 deletions(-)
+
+--- fuseiso.orig/src/isofs.c
 fuseiso/src/isofs.c
+@@ -178,7 +178,7 @@ int isofs_real_preinit( char* imagefile,
+ context.data_size = 
isonum_723(context.pd.logical_block_size);
+ 
+ if(!context.block_size) {
+-fprintf(stderr, "init: wrong block data size %d, 
using default 2048\n", context.data_size);
++fprintf(stderr, "init: wrong block data size %Lu, 
using default 2048\n", context.data_size);
+ context.data_size = 2048;
+ };
+ 
+@@ -324,7 +324,7 @@ void* isofs_real_init() {
+ 
+ if(context.block_size != 2048) {
+ // report unusual data block size
+-printf("Data block size: %d\n", context.block_size);
++printf("Data block size: %Lu\n", context.block_size);
+ };
+ 
+ char buf[129];
+@@ -479,7 +479,7 @@ static int isofs_read_raw_block(int bloc
+ };
+ size_t len = read(context.fd, buf, context.data_size);
+ if(len != context.data_size) {
+-fprintf(stderr, "isofs_read_raw_block: can`t read full block, read 
only %d bytes from offset %d, %d required; errno %d, message %s\n", 
++fprintf(stderr, "isofs_read_raw_block: can`t read full block, read 
only %d bytes from offset %d, %Lu required; errno %d, message %s\n", 
+ len, (int) off, context.data_size, errno, strerror(errno));
+ fprintf(stderr, "isofs_read_raw_block: huh? reading zeros beyond file 
end? someone want to save a penny?\n");
+ memset(buf + len, 0, context.data_size - len);
+--- fuseiso.orig/src/isofs.h
 fuseiso/src/isofs.h
+@@ -38,9 +38,9 @@ typedef struct _isofs_context {
+ struct iso_directory_record *root;
+ int file_offset; // offset to begin of useful data (for .nrg files)
+ int id_offset; // offset to CD001 inside file
+-size_t block_size; // raw block size
+-size_t block_offset; // offset from block start to data
+-size_t data_size; // data size inside block 
++off_t block_size; // raw block size
++off_t block_offset; // offset from block start to data
++off_t data_size; // data size inside block 
+ int susp; // parse susp entries
+ int susp_skip; // skip bytes from susp SP entry
+ int joliet_level; // joliet extension level (1, 2 or 3)

Copied: fuseiso/repos/community-staging-x86_64/01-fix_typo.patch (from rev 
405120, fuseiso/trunk/01-fix_typo.patch)
===
--- community-staging-x86_64/01-fix_typo.patch  (rev 0)
+++ community-staging-x86_64/01-fix_typo.patch  2018-11-09 22:53:48 UTC (rev 
405121)
@@ -0,0 +1,20 @@
+From: Jakub Wilk 
+Subject: fix typo in sourcecode
+Origin: vendor, http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=598021
+Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=598021
+
+---
+ src/fuseiso.c |2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- fuseiso.or