aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/client/AWSUrlPresigner.cpp
diff options
context:
space:
mode:
authorswarmer <swarmer@yandex-team.com>2025-03-08 00:16:40 +0300
committerswarmer <swarmer@yandex-team.com>2025-03-08 00:29:30 +0300
commitc9f8def64215301bd8809a93f792277cbcacd9fe (patch)
tree2758f9b8c54463284b34720eb0c696ce12c90cda /contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/client/AWSUrlPresigner.cpp
parent732794c096f3c49d5f8c830c3b0c66514248025e (diff)
downloadydb-c9f8def64215301bd8809a93f792277cbcacd9fe.tar.gz
[util] track the lifetime of strings passed through the StripString function family
Specialize StripString functions for the std::string_view and TStringBuf types. An example of erroneous code in which the compiler will be able to detect a problem with the lifetime of temporary string: ``` TStringBuf sb = StripString(TStringBuf{" abc "s}); Use(sb); // segfault ``` commit_hash:ad47648de30fd1a7e59d39a8ec3918fd1484a0ba
Diffstat (limited to 'contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/source/client/AWSUrlPresigner.cpp')
0 files changed, 0 insertions, 0 deletions