Don't attempt UTF-8 cache assertion for SVs with invalid SvPVX() (eg overloaded)
authorNicholas Clark <nick@ccl4.org>
Tue, 6 Oct 2009 07:24:08 +0000 (09:24 +0200)
committerNicholas Clark <nick@ccl4.org>
Tue, 6 Oct 2009 07:24:08 +0000 (09:24 +0200)
commitab8be49d36ac8fa0d20103344a61b3e7233fcba4
tree594f5eef4cb6dee48268af079b2b5e1d63b74805
parent64da3008c02a30fac03c1d2dc01e935495f210f8
Don't attempt UTF-8 cache assertion for SVs with invalid SvPVX() (eg overloaded)

Fixes RT 69422.

However, I'm not actually sure whether we should even be caching the results of
UTF-8 operations on overloading, given that nothing stops overloading returning
a different value every time it's called.
sv.c
t/uni/overload.t