Guarantee NULL termination of session ID CID 1004307