403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.238
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/sysutils/ccd2iso/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/sysutils/ccd2iso/files/patch-src-ccd2iso.c
--- src/ccd2iso.c.orig	Thu Nov 13 06:43:41 2003
+++ src/ccd2iso.c	Thu Jun 24 15:31:04 2004
@@ -22,6 +22,7 @@
 #include <config.h>
 #endif
 
+#include <err.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <sys/stat.h>
@@ -47,7 +48,12 @@
 	}
 
 	src_file = fopen(argv[1], "r");
+	if (src_file == NULL)
+		err(1, "%s", argv[1]);
+
 	dst_file = fopen(argv[2], "w");
+	if (dst_file == NULL)
+		err(1, "%s", argv[2]);
 
 	stat(argv[1], &stat_file);
 	total_bytes = stat_file.st_size;

Youez - 2016 - github.com/yon3zu
LinuXploit