It's your problem, not my problem
I met a guy who was responsible for a performance sensitive piece of code - which kept abending. He said - it was never his module's fault.
His manager told him to "fix it" because it showed up in the statistics as an oddity.
He then put in checks for the parameters being passed to the module. If the parameters were wrong - he passed back an error code and didn't try to do anything.
The fix got out to customers and suddenly there were thousands of complaints "I'm getting an error code saying parameter error". The unsympathic developer kept saying "well fix your code".
His manager then came in saying there was a code quality problem because of all of the customer problem being raised. The developer ignored this.
The developer said that in 10 years there were only 2 bugs in his code.
Eventually someone reported that the performance was slower by about 2-5%. and they decided to live with this degradation. He said the moral is always to check parameters even if you trust the caller.