Validate the length before we trust it. Submitted by:	Andrew.Gordon@net-tel.co.uk
Validate the length before we trust it.
Submitted by:	Andrew.Gordon@net-tel.co.uk

jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase