fix malloc length in negative number parsing