-
Notifications
You must be signed in to change notification settings - Fork 84
Open
Labels
Milestone
Description
I stumbled accross a wierd overflow that souldn't happen.
With this code:
int main() {
int *buff = 0;
return buff[5];
}
And those parameters:
--ana.arrayoob true --ana.int.interval_set true --ana.base.arrays.domain partitioned --ana.base.arrays.nullbytes true --sem.malloc.fail true --set "ana.activated[+]" memOutOfBounds --set "ana.activated[+]" useAfterFree
I get the following error message:
[Warning][Integer > Overflow][CWE-190][CWE-191] Unsigned integer overflow and underflow (... .c:6:9-6:16)
But for me, it shouldn't happen as a possibly random value set by the OS, can't be an overflow value. Let alone for an unsigned integer.