This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
[perl #123759] always count on OPpTRANS_IDENTICAL
If we detect that an in-place transliteration will not result in any
changes to the string, we set OPpTRANS_IDENTICAL and skip the normal
checks for readonlyness; but if we do that, we must make sure to use
the same logic to decide which transliteration strategy to use, or
we may end up trying to write to the readonly string anyway.
This resulted in several ways to hit assert failures, found by AFL
(<http://lcamtuf.coredump.cx/afl>).