survex:debug-ci-sanitisers

Last commit made on 2024-03-15
Get this branch:
git clone -b debug-ci-sanitisers https://git.launchpad.net/survex

Branch merges

Branch information

Name:
debug-ci-sanitisers
Repository:
lp:survex

Recent commits

603ece1... by Olly Betts

Merge branch 'master' into debug-ci-sanitisers

ed953f1... by Olly Betts

Adjust annotations to work with older clang

65aa306... by Olly Betts

Merge branch 'master' into debug-ci-sanitisers

30ec602... by Olly Betts

Allow unsigned-integer-overflow in hash functions

This isn't undefined behaviour, but it's suspicious in most situations
so useful to be able to enable to find bugs.

9d5081f... by Olly Betts

[ci] Show config.log on success too

7fe7a8b... by Olly Betts

Merge branch 'master' into debug-ci-sanitisers

2acdae1... by Olly Betts

Avoid undefined behaviour after realloc()

We were adjusting a pointer within the reallocated block by subtracting
the old block address and adding on the new one. Technically this is
undefined behaviour, although in practice it seems likely it'll work,
but we can avoid it by just calculating the offset before the realloc().

1000d9d... by Olly Betts

Avoid triggering ubsan unsigned-integer-overflow

This isn't undefined, but it's suspicious in most situations so
useful to be able to enable to find bugs.

8adbe49... by Olly Betts

Don't pass signed char values to ctype.h functions

They're only defined on unsigned char values and EOF.

50ac1e7... by Olly Betts

[ci] cat config.log