From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- app-cdr/b5i2iso/files/b5i2iso-0.2-segfault.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 app-cdr/b5i2iso/files/b5i2iso-0.2-segfault.patch (limited to 'app-cdr/b5i2iso/files') 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 + #include + #include + #include +@@ -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 -- cgit v1.2.3