Passing zero as the argument count would lead to a malloc for zero bytes which would always cause a failure.