Ugh. Sorry autocorrect, should read “uninitialized variables”
It is well understood that all variables need to be initialized. Most compilers consider uninitialized variables an error. So I would say someone running into this and possibly other UB scenarios is just a case of writing bad code.