Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
src/msg/async/AsyncConnect.cc: Use of sizeof() on a Pointer Type #14773
We have found and fixed a weakness using PVS-Studio tool. PVS-Studio is a static code analyzer for C, C++ and C#: https://www.viva64.com/en/pvs-studio/
We suggests having a look at the emails, sent from @pvs-studio.com.
Analyzer warning: V568 It's odd that 'sizeof()' operator evaluates the size of a pointer to a class, but not the size of the 'seq' class object. AsyncConnection.cc 420
@SvyatoslavRazmyslov assuming the ceph/ceph repo is named "origin" in your workspace, and your own repo is named "viva64":
let me know if anything else i can help.