403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.89
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/vietnamese/vnconvert/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/vietnamese/vnconvert/files/patch-vnconvert.c
--- vnconvert.c.orig	1994-05-20 20:36:17 UTC
+++ vnconvert.c
@@ -91,7 +91,7 @@ main()
 		printf("\t6 - VN Thin-Art (Mac)\n\n");
 
 		printf("Input-file name (or Enter to quit): ");
-		gets(bufline);
+		gets_s(bufline, 255);
 		if (strlen(bufline) == 0)
 			break;
 		sscanf(bufline, "%s", input_file);
@@ -99,21 +99,21 @@ main()
 		printf("currently in the format number: ");
 		*bufline = '\0'; 
 		while (strlen(bufline)==0) {
-			gets(bufline);
+			gets_s(bufline, 255);
 			sscanf(bufline, "%d", &from);
 		}
 
 		printf("\nOutput-file name: ");
 		*bufline = '\0';
                 while (strlen(bufline)==0) {
-                        gets(bufline);
+                        gets_s(bufline, 255);
                         sscanf(bufline, "%s", output_file); 
                 }
 
 		printf("to the format number: ");
 		*bufline = '\0';
                 while (strlen(bufline)==0) {
-                        gets(bufline);
+                        gets_s(bufline, 255);
                         sscanf(bufline, "%d", &to);
                 }
 
@@ -152,7 +152,7 @@ main()
 			}
 			else {
 				fprintf(stderr, "\"%s\" already exists. Overwrite it (y/n)? ", output_file);
-				gets(buf);
+				gets_s(buf, BUFSIZ);
 				if (toupper(buf[0]) != 'Y')  
 					icontinue = 1;
 			}

Youez - 2016 - github.com/yon3zu
LinuXploit