Issue 9: Check for Memory Corruption