Fix the first part of PR14478: memset now works.