Issue #23321: Fixed a crash in str.decode() when error handler returned
replacment string longer than mailformed input data.