diff options
author | nocomer <nocomer@yandex-team.ru> | 2022-02-13 22:46:53 +0300 |
---|---|---|
committer | nocomer <nocomer@yandex-team.ru> | 2022-02-13 22:46:53 +0300 |
commit | 3df7211d3e3691f8e33b0a1fb1764fe810d59302 (patch) | |
tree | 74a3ac92c59311ab7f6e2cbbe74ed74774ec9473 /util/thread/factory.h | |
parent | 426bb223c9ee6cc41c8e9c7cdfd2ef49f92ea5bf (diff) | |
download | ydb-3df7211d3e3691f8e33b0a1fb1764fe810d59302.tar.gz |
BALANCER-3382: fix UB in AsciiEqualsIgnoreCase for empty TStringBufs
Under ubsan call to AsciiEqualsIgnoreCase with empty TStringBuf passed in arguments results in error
arcadia/util/string/ascii.h:183:52: runtime error: null pointer passed as argument 1, which is declared to never be null
due to nullptr being passed to strnicmp
ref:1996fab2dbf1aaf0eb58ee694522ec0973971fd9
Diffstat (limited to 'util/thread/factory.h')
0 files changed, 0 insertions, 0 deletions