]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
global: Call getnam_r with a 64KiB buffer on the heap 60124/head
authorAdam Emerson <aemerson@redhat.com>
Wed, 2 Oct 2024 18:42:52 +0000 (14:42 -0400)
committerAdam Emerson <aemerson@redhat.com>
Fri, 4 Oct 2024 18:25:47 +0000 (14:25 -0400)
commit8b4a200d66d6150a80f69f3ed75a5215607469ca
tree88f5359331da1bfd8bf6d6f7f428bc3df96b149c
parent62cf720196dd47ab1237d1ff760134af6e7b5ae4
global: Call getnam_r with a 64KiB buffer on the heap

Fixes: https://tracker.ceph.com/issues/40692
Signed-off-by: Adam Emerson <aemerson@redhat.com>
(cherry picked from commit 9eeca730fa0d99f39d81f6d16cb5faff9d033516)

Fixes: https://tracker.ceph.com/issues/68390
Conflicts:
src/global/global_init.cc
 - Replace `make_unique_for_overwrite` which is C++20 with `make_unique`

Signed-off-by: Adam Emerson <aemerson@redhat.com>
src/global/global_init.cc