[geany/geany-plugins] f5e09d: Merge pull request #286 from b4n/scope/format-security

zhekov git-noreply at xxxxx
Fri Oct 2 15:54:19 UTC 2015


Branch:      refs/heads/master
Author:      zhekov <dimitar.zhekov at gmail.com>
Committer:   zhekov <dimitar.zhekov at gmail.com>
Date:        Fri, 02 Oct 2015 15:54:19 UTC
Commit:      f5e09d78b8042f9dbb0af12d99d905bcadba0801
             https://github.com/geany/geany-plugins/commit/f5e09d78b8042f9dbb0af12d99d905bcadba0801

Log Message:
-----------
Merge pull request #286 from b4n/scope/format-security

scope: Don't use an untrusted string as a printf format


Modified Paths:
--------------
    scope/src/debug.c

Modified: scope/src/debug.c
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -253,7 +253,7 @@ static void debug_parse(char *string, const char *error)
 		}
 
 		if (error)
-			dc_error(error);
+			dc_error("%s", error);
 		else if (!end)
 			dc_error("\" expected");
 		else if (g_str_has_prefix(string, "~^(Scope)#07"))



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Plugins-Commits mailing list