Use reallocarray() instead of calloc() (originally was realloc).
OK deraadt@