Reported by GCC's `-Wformat-security`. You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany-plugins/pull/286
-- Commit Summary --
* scope: Don't use an untrusted string as a printf format
-- File Changes --
M scope/src/debug.c (2)
-- Patch Links --
https://github.com/geany/geany-plugins/pull/286.patch https://github.com/geany/geany-plugins/pull/286.diff
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany-plugins/pull/286
Found through nightly builds (http://nightly.geany.org/):
```terminal debug.c: In function 'debug_parse': debug.c:256:4: error: format not a string literal and no format arguments [-Werror=format-security] dc_error(error); ^ ```
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany-plugins/pull/286#issuecomment-145067664
Thanks. Merged.
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany-plugins/pull/286#issuecomment-145069721
Merged #286.
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany-plugins/pull/286#event-425404316
(though the only values of error are currently "binary zero encountered" and "line too long or incomplete")
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany-plugins/pull/286#issuecomment-145070173
github-comments@lists.geany.org