Fixing Fuzzing Bug - 0 length pointer causing infinite loop