{{ message }}
Repository navigation
Commit e0260eb
committed
Bug (kind of) in 'isinstack'
The function 'isinstack' tried to work around the undefined behavior
of subtracting two pointers that do not point to the same object,
but the compiler killed to trick. (It optimizes out the safety check,
because in a correct execution it will be always true.)1 parent 5205f07 commit e0260eb
2 files changed
Lines changed: 17 additions & 6 deletions

0 commit comments