[Solved] Getting Segmentation fault for implementing ByteSize() in C++ for protobuffer

[ad_1]

I got the solution.
memset function is creating this problem.
I removed the memset function. it works fine

[ad_2]

solved Getting Segmentation fault for implementing ByteSize() in C++ for protobuffer