mirror of
https://github.com/apache/nuttx.git
synced 2026-02-05 11:11:34 +08:00
kasan watchpoint: Fix judgment problem
Signed-off-by: wangmingrong1 <wangmingrong1@xiaomi.com>
This commit is contained in:
committed by
Alan C. Assis
parent
4de718f98f
commit
750ae961a8
@@ -217,7 +217,7 @@ static void kasan_check_watchpoint(FAR const void *addr, size_t size,
|
||||
}
|
||||
|
||||
if (addr + size <= watchpoint->addr ||
|
||||
addr > watchpoint->addr + watchpoint->size)
|
||||
addr >= watchpoint->addr + watchpoint->size)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user