From: Vitaliy Cherepanov Date: Mon, 3 Nov 2014 19:21:34 +0000 (+0300) Subject: [FIX] application terminate on start X-Git-Tag: Tizen_SDK_2.3~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=30b54d8a7472b31d88ca670f357edfe54b72aab1;p=platform%2Fcore%2Fsystem%2Fswap-probe.git [FIX] application terminate on start Change-Id: I2db7f9f2d934c19dbdbb8309af129ea327d1c0b2 Signed-off-by: Vitaliy Cherepanov --- diff --git a/helper/damaps.c b/helper/damaps.c index d33e4f3..415dab5 100755 --- a/helper/damaps.c +++ b/helper/damaps.c @@ -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;