use memset not __dstr_safe_memset