aboutsummaryrefslogtreecommitdiff
path: root/LICENSE
diff options
context:
space:
mode:
authorGravatar Benjamin Barenblat <bbaren@google.com>2020-05-13 13:48:32 -0400
committerGravatar Benjamin Barenblat <bbaren@google.com>2020-05-13 13:48:32 -0400
commitafbf22d62076868d6db30411ad1924d99fbdb05d (patch)
tree09c226042542225302b95cd4fa9f4b72785539cf /LICENSE
parentf099f30489f958c4466b83ecb0427f28b9c11e9d (diff)
Don’t pass `char` to `va_start`cleanup
Passing `va_start` an argument of a type that undergoes promotion (`char`, `float`, etc.) triggers undefined behavior. Make `_cat_with` take an `int c` instead, and assert that `c` can be stored in a `char` before using it as one.
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions