From 328299d7c54c019eab7cd87ad2038988f96d0f30 Mon Sep 17 00:00:00 2001 From: rofl0r Date: Wed, 15 Feb 2017 02:31:28 +0000 Subject: [PATCH] fix format string bug in use without arguments strings would be interpreted as format strings, not as data. since this is basically debug usage, it wasn't a real risk since supposedly no-one would use jobflow without execing tasks. --- jobflow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jobflow.c b/jobflow.c index 899121e..d3667cf 100644 --- a/jobflow.c +++ b/jobflow.c @@ -568,7 +568,7 @@ int main(int argc, char** argv) { continue; } if(!prog_state.cmd_startarg) { - dprintf(1, fgets_result); + dprintf(1, "%s", fgets_result); continue; } -- 2.11.4.GIT