gethostbyname call with 0 length arg

James Hawkins truiken at
Sun Jan 29 10:47:22 CST 2006

On 1/29/06, Phil Goss <pagoss at> wrote:
> Hi,
> Is it a bug in the WINE gethostbyname (WS_gethostbyname) implementation,
> where if the arg name is of string length 0, then it returns unsuccessful.
> I have tested the strlen check and it seems to work and satisfies the
> Windows program.

This would make a good regression test.  See:

James Hawkins

More information about the wine-devel mailing list