[FIX] application terminate on start 49/29749/1
authorVitaliy Cherepanov <v.cherepanov@samsung.com>
Mon, 3 Nov 2014 19:21:34 +0000 (22:21 +0300)
committerVitaliy Cherepanov <v.cherepanov@samsung.com>
Mon, 3 Nov 2014 19:21:34 +0000 (22:21 +0300)
Change-Id: I2db7f9f2d934c19dbdbb8309af129ea327d1c0b2
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
helper/damaps.c

index d33e4f3..415dab5 100755 (executable)
@@ -403,7 +403,7 @@ static struct map_t *get_map_by_addr(void *addr)
        if (addr < addr_hash_table[0]->addr)
                goto find_exit;
 
-       if (addr > addr_hash_table[addr_hash_table_el_count_buzy - 1]->addr)
+       if (addr > addr_hash_table[addr_hash_table_el_count_buzy - 1]->endaddr)
                goto find_exit;
 
        left = 0;