Files
scylladb/utils
Avi Kivity 3e2707c2bf utils: fragmented_temporary_buffer: don't add to potentially null pointers
Offsetting a null pointer is undefined, and clang's ubsan complains.

Rearrange the arithmetic so we never offset a null pointer. A function
is introduced for the remaining contiguous bytes so it can cast the result
to size_t, avoiding a compare-of-different-signedness warning from gcc.

Closes #7373
2020-10-11 15:05:15 +03:00
..
2020-03-23 11:59:30 +02:00
2020-08-03 15:55:16 +03:00
2020-08-04 17:54:45 +03:00
2020-09-08 15:59:25 +03:00
2020-09-08 15:59:25 +03:00
2020-05-31 12:58:59 +03:00
2020-03-23 11:59:30 +02:00
2020-08-19 17:18:57 +03:00
2020-08-11 19:37:47 +08:00