Code

Fix an off-by-one error where a realloc(3) call doesn't allocate space