fix possible overflow in encode_basestring_ascii (#23369)
2 files changed