This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
PATCH [perl #132164] regcomp.c: Don't try to increment infinity
[perl5.git] / t / re / pat.t
index 066ac96..82206df 100644 (file)
@@ -23,7 +23,7 @@ BEGIN {
     skip_all('no re module') unless defined &DynaLoader::boot_DynaLoader;
     skip_all_without_unicode_tables();
 
-plan tests => 847;  # Update this when adding/deleting tests.
+plan tests => 848;  # Update this when adding/deleting tests.
 
 run_tests() unless caller;
 
@@ -1943,6 +1943,9 @@ EOP
     {   # [perl $132227]
         fresh_perl_is("('0ba' . ('ss' x 300)) =~ m/0B\\N{U+41}" . $sharp_s x 150 . '/i and print "1\n"',  1,{},"Use of sharp s under /di that changes to /ui");
     }
+    {   # [perl $132164]
+        fresh_perl_is('m m0*0+\Rm', "",{},"Undefined behavior in address sanitizer");
+    }
 
 } # End of sub run_tests