Fix various buffer overflows that may or may not be exploitable.
Fix various buffer overflows that may or may not be exploitable.

Fixes PR 2588

Reviewed by:	Dan Cross?
Submitted by:	Julian Assange

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