curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: Unit test 1655

From: Niall O'Reilly via curl-library <>
Date: Wed, 13 Nov 2019 13:34:42 +0000

On 13 Nov 2019, at 9:36, Daniel Stenberg wrote:

> I think it primarily needs a valid input name (no zero length labels)
> that is longer than the given output buffer, as that test tries to
> verify that the boundary checks for that are fine and causes no
> overwrite.

There’s a notational ambiguity which needs a decision.

Have you thought about the trailing dot?
If so, do you have a clear idea (or even strong feelings) about
whether it should be either tolerated or forbidden?

It can’t be required, as doing so would introduce pervasive
conflict with how libcurl already handles a hostname parsed
from a URL.

Received on 2019-11-13