KERNEL: improve stubs for DnsHostnameToComputerName{A,W}

Peter Berg Larsen pebl at math.ku.dk
Thu Mar 31 07:34:10 CST 2005


On Thu, 31 Mar 2005, Peter Berg Larsen wrote:

> +    memcpy( computername, hostname, len );
> +    computername[len + 1] = 0;

> or you risk the computername[len+1] is invalid.

Hmm, why didnt I see that at once; usually mistake here.
Dont you mean

computername[len] = 0;

Peter




More information about the wine-devel mailing list