summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
authorRadoslaw Czerski <r.czerski@samsung.com>2016-04-12 15:49:42 +0200
committerRadoslaw Czerski <r.czerski@samsung.com>2016-04-12 15:49:42 +0200
commitd221f284155b2dd353dcf33876bc9396c09bec1c (patch)
tree4c90a60d9c01ef4d347d3a75416b17d388da4a18 /inc
parent13485a7307f3e26fff821cbebee8cfb0df7a0a6f (diff)
downloadindicator-win-d221f284155b2dd353dcf33876bc9396c09bec1c.tar.gz
indicator-win-d221f284155b2dd353dcf33876bc9396c09bec1c.tar.bz2
indicator-win-d221f284155b2dd353dcf33876bc9396c09bec1c.zip
icon: Use of vulnerable function fix.
sprintf -> snprintf Change-Id: I624c24e446a5a2504ffe1cf53481ac8ee23e1c43 Signed-off-by: Radoslaw Czerski <r.czerski@samsung.com>
Diffstat (limited to 'inc')
-rw-r--r--inc/icon.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/inc/icon.h b/inc/icon.h
index ef34100..028de61 100644
--- a/inc/icon.h
+++ b/inc/icon.h
@@ -29,6 +29,8 @@
#define MAX_NOTI_ICONS_PORT 5
#define MAX_NOTI_ICONS_LAND 11
+#define SIGNAL_SIZE 32
+
enum {
ICON_STATE_HIDDEN = 0,
ICON_STATE_SHOWN