diff options
author | Ross Vandegrift <ross@kallisti.us> | 2018-08-27 12:10:12 +0900 |
---|---|---|
committer | Hermet Park <hermetpark@gmail.com> | 2018-08-27 12:10:12 +0900 |
commit | b55ae244404dc3936a6caffbfbe0f5912d72a0a9 (patch) | |
tree | 393b7fa3e8a5b1305823e8f6ccc2b39282302ea6 /src/lib/efl/interfaces/efl_ui_format.c | |
parent | 1d7fb47f04097e6e11c052404cfb086c2ba7accc (diff) |
Format-string harden eina_strbuf_append_printf use
Summary:
gcc -Werror=format-security flags this for lacking a format string. Fixes:
https://phab.enlightenment.org/T7325
Reviewers: #committers, Hermet
Reviewed By: #committers, Hermet
Subscribers: Hermet, cedric, #reviewers, #committers, zmike
Tags: #efl
Maniphest Tasks: T7325
Differential Revision: https://phab.enlightenment.org/D6867
Diffstat (limited to '')
-rw-r--r-- | src/lib/efl/interfaces/efl_ui_format.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/efl/interfaces/efl_ui_format.c b/src/lib/efl/interfaces/efl_ui_format.c index c7b8c59aa9..4f3a867f27 100644 --- a/src/lib/efl/interfaces/efl_ui_format.c +++ b/src/lib/efl/interfaces/efl_ui_format.c | |||
@@ -130,7 +130,7 @@ _default_format_cb(void *data, Eina_Strbuf *str, const Eina_Value value) | |||
130 | } | 130 | } |
131 | else if (sd->format_type == FORMAT_TYPE_STATIC) | 131 | else if (sd->format_type == FORMAT_TYPE_STATIC) |
132 | { | 132 | { |
133 | eina_strbuf_append_printf(str, sd->template); | 133 | eina_strbuf_append_printf(str, "%s", sd->template); |
134 | } | 134 | } |
135 | else | 135 | else |
136 | { | 136 | { |