aboutsummaryrefslogtreecommitdiff
path: root/util/logging_test.cc
diff options
context:
space:
mode:
authorleveldb Team <no-reply@google.com>2025-01-21 16:19:03 +0000
committerVictor Costan <costan@google.com>2025-01-24 21:05:34 +0000
commite829478c6a3a55d8e5c1227e2678dcc18d518609 (patch)
treeb10a934fbd029360d7d7f96f54f01663b6993b95 /util/logging_test.cc
parent302786e211d1f2e6fd260261f642d03a91e5922c (diff)
downloadleveldb-e829478c6a3a55d8e5c1227e2678dcc18d518609.tar.gz
leveldb-e829478c6a3a55d8e5c1227e2678dcc18d518609.zip
Fix speculatively some "placement new" issues in leveldb
cl/713346733 changed the type of some variables to pointers, but didn't adjust the placement new statements. From pkasting@: "I suspect your code is wrong and will crash. An array is a pointer, so taking its address also gives a pointer, which is why it compiles; but the value of that pointer is different. You're no longer providing the address of the storage, but rather the address of the array pointer." PiperOrigin-RevId: 717926210
Diffstat (limited to 'util/logging_test.cc')
0 files changed, 0 insertions, 0 deletions