]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: add RGWFormatter_Plain allocation to sidestep cranky strlen() 387/head
authorSage Weil <sage@inktank.com>
Tue, 2 Jul 2013 00:33:11 +0000 (17:33 -0700)
committerSage Weil <sage@inktank.com>
Tue, 2 Jul 2013 01:21:01 +0000 (18:21 -0700)
commit49ff63b1750789070a8c6fef830c9526ae0f6d9f
treeca3605d670c83780dc61e3ffb012ec1be4892fc6
parent8694d296de224cd8f0c07d4513f02a54ff98f729
rgw: add RGWFormatter_Plain allocation to sidestep cranky strlen()

Valgrind complains about an invalid read when we don't pad the allocation,
and because it is inlined we can't whitelist it for valgrind.  Workaround
the warning by just padding our allocations a bit.

Fixes: #5346
Backport: cuttlefish
Signed-off-by: Sage Weil <sage@inktank.com>
src/rgw/rgw_formats.cc