commit | bb960f99e01869caf0199ffa58475eb047fa5231 | [log] [tgz] |
---|---|---|
author | Piotr Zegar <me@piotrzegar.pl> | Thu Feb 29 20:52:32 2024 +0000 |
committer | Copybara-Service <copybara-worker@google.com> | Thu Feb 29 13:00:30 2024 -0800 |
tree | 4ee7e649ce87e2c8466f49d0025d0a870a0de1d9 | |
parent | 43dbdbc86d3c6cea3b1824fd2fd3dddd7e8c69da [diff] |
[clang-tidy][NFC] Fix buffer overflow in modernize-use-designated-initializers Instance of DenseMap were copied into local variable, and as a result reference to string stored in that local variable were returned from function. At the end fix-it were applied with already destroyed string causing some non utf-8 characters to be printed. Related to #80541 GitOrigin-RevId: 21be2fbd17f9ff6f3f04e0ababc91c9cdd5aed85