This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Fix some ASAN-identified problems
authorGeorge Greer <perl@greerga.m-l.org>
Tue, 12 Mar 2013 03:39:13 +0000 (21:39 -0600)
committerKarl Williamson <public@khwilliamson.com>
Tue, 12 Mar 2013 22:06:47 +0000 (16:06 -0600)
commit9b139d09af7013f395939ac80e537edd55bb404a
tree1b56effbb030753d7f0b64115f1434e7169b908f
parent46391258eca955edb5120d04f4c8fc6a1b087124
Fix some ASAN-identified problems

Clang under Address sanitizer is showing several problems when building
Perl, having to do when a limit reaches I32_MAX.  This commit fixes
those problems by doing special tests for I32_MAX, and preventing
overflow.
regcomp.c
scope.c