Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37730604
en ru br
ALT Linux repos
S:1.5.2-alt1

Group :: Editors
RPM: ee

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: ee-Wformat-security.patch
Download


--- a/ee.c
+++ b/ee.c
@@ -2105,11 +2105,11 @@
 		}
 		else if (!strcmp("-?", buff))
 		{
-			fprintf(stderr, usage0, arguments[0]);
-			fprintf(stderr, usage1);
-			fprintf(stderr, usage2);
-			fprintf(stderr, usage3);
-			fprintf(stderr, usage4);
+			fprintf(stderr, "%s", usage0, arguments[0]);
+			fprintf(stderr, "%s", usage1);
+			fprintf(stderr, "%s", usage2);
+			fprintf(stderr, "%s", usage3);
+			fprintf(stderr, "%s", usage4);
 			exit(1);
 		}
 		else if ((*buff == '+') && (start_at_line == NULL))
@@ -3243,7 +3243,7 @@
 	}
 	if (shell_fork)
 	{
-		printf(continue_msg);
+		printf("%s", continue_msg);
 		fflush(stdout);
 		while ((in = getchar()) != '\n')
 			;
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin