[tidy] added sanity memsets in order to detect passing uninitialized structures