Yikes. This sounds, however, like a completely different bug, if it is only triggered by unzipping archives. I'm sure that the situation is more complicated than it looks - because it looks like there is just a shocking lack of QA testing being done, if basic edge cases like this are resulting in undefined behavior.