 <p>you need to initialize <code>pNext</code> properly by setting it to <code>nullptr</code> explicitly in <code>node</code>'s constructor. <code>0xCDCDCDCD</code> is always in indicator for accessing uninitialized memory.</p>