While reviewing a piece of C++ code I came across instances (reported by CPPcheck) where memset() was used on structures containing string members. I have come across a few references that talk about how this is not a good practice. I am unable to conclude if this behavior can result in a security risk.
My C++ skills are limited. My apologies if I am missing out of something obvious here.