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

Christophe Fergeau cfergeau at redhat.com
Tue May 13 09:20:14 UTC 2014


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




More information about the Libosinfo mailing list