diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-cdr/b5i2iso/files | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-cdr/b5i2iso/files')
-rw-r--r-- | app-cdr/b5i2iso/files/b5i2iso-0.2-segfault.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/app-cdr/b5i2iso/files/b5i2iso-0.2-segfault.patch b/app-cdr/b5i2iso/files/b5i2iso-0.2-segfault.patch new file mode 100644 index 000000000000..6fda80e79605 --- /dev/null +++ b/app-cdr/b5i2iso/files/b5i2iso-0.2-segfault.patch @@ -0,0 +1,18 @@ +--- b5i2iso/src/b5i2iso.c ++++ b5i2iso/src/b5i2iso.c +@@ -1,3 +1,4 @@ ++#include <errno.h> + #include <stdio.h> + #include <stdlib.h> + #include <string.h> +@@ -45,6 +46,10 @@ + } + + fsource = fopen(argv[1],"rb"); ++if (fsource == NULL) { ++ printf("can't open %s: %s\n", argv[1], strerror(errno)); ++ exit(EXIT_FAILURE); ++} + fdest = fopen(destfilename,"wb"); + + fseek(fsource, 2352, SEEK_CUR);
\ No newline at end of file |