diff options
author | Karl Williamson <khw@cpan.org> | 2019-05-23 10:48:30 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2019-05-24 17:09:30 -0600 |
commit | 01b91050db552dbb89e4bd2eb6d089ebd0f28c1e (patch) | |
tree | 774463554bd198795c235e3f74cfc58020b7a4d6 /locale.c | |
parent | b377a43cebc7e181f6f2189b957deda3a9af6943 (diff) | |
download | perl-01b91050db552dbb89e4bd2eb6d089ebd0f28c1e.tar.gz |
locale.c: Fix '%s' directive argument is null
This was just an oversight. THe code doesn't get executed unless it's
trying to panic
Diffstat (limited to 'locale.c')
-rw-r--r-- | locale.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -5085,6 +5085,7 @@ Perl__is_cur_LC_category_utf8(pTHX_ int category) s++; e = strchr(s, UTF8NESS_PREFIX[0]); if (! e) { + e = PL_locale_utf8ness + strlen(PL_locale_utf8ness); Perl_croak(aTHX_ "panic: %s: %d: Corrupt utf8ness_cache: missing" " separator %.*s<-- HERE %s\n", |