quilt patch for memset sizeof typo