diff options
author | Daiki Ueno <ueno@gnu.org> | 2021-03-09 13:41:59 +0100 |
---|---|---|
committer | Daiki Ueno <ueno@gnu.org> | 2021-04-04 10:20:59 +0200 |
commit | 65695373e10ed0654bff60fe0dcd00137ddfffe8 (patch) | |
tree | a0a0be455e3a0a3124a9b64c560b03a5b585c9ed /lib/ext/key_share.c | |
parent | 54e161b9dabe4bd3b08b532475294a37c7562b45 (diff) | |
download | gnutls-65695373e10ed0654bff60fe0dcd00137ddfffe8.tar.gz |
_gnutls_buffer_resize: add option to use allocation simpler logic
This helps detect common mistakes[1] in realloc usage with valgrind,
where the caller assumes that the original ptr is always returned.
1. https://bugzilla.mozilla.org/show_bug.cgi?id=1377618
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Co-authored-by: Alexander Sosedkin <asosedkin@redhat.com>
Diffstat (limited to 'lib/ext/key_share.c')
0 files changed, 0 insertions, 0 deletions