Fix a bug that crawled in pretty recently (from the port).  It made sshd coredump :(
Fix a bug that crawled in pretty recently (from the port).  It made
sshd coredump :(

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