Fixed memory corruption in o5logon.
Merge pull request #119 from jacob-baines/o5crash

o5logon Heap Corruption