[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Libosinfo] [PATCH 1/2] win7, winxp, installer: 'ComputerName' must be <= 15 characters



On Mon, May 12, 2014 at 04:38:34PM +0100, Zeeshan Ali (Khattak) wrote:
> Since 'ComputerName' is supposed to be max 15 characters, unattended
> installation breaks if this is set to a string longer than that. Lets crop the
> string to ensure that doesn't happen.
> 
> http://technet.microsoft.com/en-us/library/ff715676.aspx

This link also lists forbidden characters, I don't think this is
enforced? I'm also not sure substring will do the right thing with
non-ASCII characters, which are potentially encoded as multiple bytes
(the limit is 15 bytes, not 15 chars).

Christophe


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]