These poorly coded exchanges were looking for an exact hash match to pop up on the block chain, instead of looking for the deposit/address.
The actual security of the system is not really impacted at all, and the core Bitcoin clients cope fine with this. The exchanges may have put themselves at risk, but that is on them.