These are the two cell killers. I am unsure of the exactly what happens with reverse charging that kills cells, but overcharging does so by using the excess charging energy to break down the electrolyte,
and vent the resulting gas. The cell capacity declines as the amount of electolyte goes down (you end up with cathode/anaode surfaces that are no longer covered in electrolyte, reducing the usable electrode surface area), until it finally dies. Fortunately it takes a lot of mAH to do this, but if you overcharge in a dumb charger long enough, you do indeed pump a lot more mAH into the cell than it has capacity for. Most dumb chargers have fairly low charging currents, so it takes a long time to 'boil' away substantial amounts of electrolyte but it does happen. IIRC it takes about 55Ah to convert 20 grams of water into hydrogren and oxygen, so a large battery like a D sized NiCd/NiMH can sustain a great deal of excess charging before you electrolyse enough electrolyte to make much difference.