Fix for the prevent defect: 18872 for array index going out of bounds. Set ATOM_COUNT...
authorRajeev Ranjan <rajeev.r@samsung.com>
Sat, 17 Sep 2011 08:05:21 +0000 (17:05 +0900)
committerRajeev Ranjan <rajeev.r@samsung.com>
Sat, 17 Sep 2011 08:05:21 +0000 (17:05 +0900)
Change-Id: I77a4f4fa3e59dfeda5f9f0c6162b6069c8c1f3c7

src/lib/elm_config.c

index ca87a80..b8a3033 100644 (file)
@@ -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] =