From: Rajeev Ranjan Date: Sat, 17 Sep 2011 08:05:21 +0000 (+0900) Subject: Fix for the prevent defect: 18872 for array index going out of bounds. Set ATOM_COUNT... X-Git-Tag: REL_F_I9200_20110920_1~2^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=18c4fd707fe1b43a777e8a0ea7d31ff86d35bd89;p=framework%2Fuifw%2Felementary.git Fix for the prevent defect: 18872 for array index going out of bounds. Set ATOM_COUNT to 25 now as new enums have been added. Change-Id: I77a4f4fa3e59dfeda5f9f0c6162b6069c8c1f3c7 --- diff --git a/src/lib/elm_config.c b/src/lib/elm_config.c index ca87a80..b8a3033 100644 --- a/src/lib/elm_config.c +++ b/src/lib/elm_config.c @@ -74,7 +74,7 @@ static size_t _elm_user_dir_snprintf(char *dst, #ifdef HAVE_ELEMENTARY_X static Ecore_Event_Handler *_prop_change_handler = NULL; static Ecore_X_Window _root_1st = 0; -#define ATOM_COUNT 22 +#define ATOM_COUNT 25 static Ecore_X_Atom _atom[ATOM_COUNT]; static Ecore_X_Atom _atom_config = 0; static const char *_atom_names[ATOM_COUNT] =