This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Upgrade to Unicode::Normalize 0.23.
[perl5.git] / ext / Unicode / Normalize / Normalize.xs
index 4989895..987a839 100644 (file)
@@ -378,6 +378,7 @@ compose(arg)
        }
        uvS = uv;
     } /* for */
+    *d = '\0';
     SvCUR_set(dst, d - (U8*)SvPVX(dst));
     RETVAL = dst;
   OUTPUT: