diff options
author | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2019-02-20 01:34:10 +0100 |
---|---|---|
committer | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2019-02-20 01:49:47 +0100 |
commit | 2b8b738391ed34b371673e4b62c7bd22e3503e2a (patch) | |
tree | ccc36927d744c97fcf21abb6aa604b41e0014a1b /modules/mono/mono_gd/gd_mono_utils.cpp | |
parent | a056e8dc7719de24a645d3500d7228d6955372ff (diff) |
Small hack to avoid runtime error when using ubsan
mbedtls_ssl_read cannot be called with a NULL buffer even if len is 0,
as those are passed to memcpy and compilers doesn't like that.
Always pass a single byte (still len 0 so nothing is actually copied)
Diffstat (limited to 'modules/mono/mono_gd/gd_mono_utils.cpp')
0 files changed, 0 insertions, 0 deletions