tinystl icon indicating copy to clipboard operation
tinystl copied to clipboard

Fix undefined behaviour (arithmetic on null pointer)

Open LakeByTheWoods opened this issue 4 years ago • 0 comments

This is being caught be clang's undefined behaviour sanitiser. See https://godbolt.org/z/nWf48K Normally I wouldn't worry about this sort of language-lawyer level thing but it's making tinystl unusable with the sanitiser.

LakeByTheWoods avatar Sep 15 '20 08:09 LakeByTheWoods