Proper array bounds.
authorFrantišek Dvořák <valtri@civ.zcu.cz>
Fri, 23 Jul 2010 15:04:08 +0000 (15:04 +0000)
committerFrantišek Dvořák <valtri@civ.zcu.cz>
Fri, 23 Jul 2010 15:04:08 +0000 (15:04 +0000)
org.glite.lb.harvester/src/harvester.c

index 7657ce7..d7acc7e 100644 (file)
@@ -1450,7 +1450,7 @@ quit:
 
 int load_notifs_file() {
        FILE *f;
-       char *results[5];
+       char *results[RTM_FILE_NOTIF_NUM];
        notif_t *new_notif;
        int err;
        char *notifidstr;