Make use of ZERO_STRUCT (the first memset was actually wrong)