develooper Front page | perl.perl5.porters | Postings from June 2017

DAVEM TPF grant#2 report #181

From:
Dave Mitchell
Date:
June 26, 2017 14:44
Subject:
DAVEM TPF grant#2 report #181
Message ID:
20170626144410.GN3074@iabyn.com

The two main things I did last week were:


Finishing off creating DEBUGGING-build mechanism to detect some classes of
bug where pp functions fail to extend the stack before pushing return
values. Basically the runops loop sets a high water mark variable before
calling the pp function; EXTEND() and similar update that mark, and on
return from the pp function, we check whether PL_stack_sp is > the mark
and panic if so. This has allowed me to detect and fix several such bugs
in core.

Finishing off adding a proper test suite for Porting/bench.pl, and fixing
the utility up based on the test results. For example at some point the
--bisect option broke, but this was never noticed due to no testing.

Both the above are now merged into blead.

Other than that, I spent some time working on various fuzzer tickets.




2017/06/19
     0:34 process p5p mailbox
     5:32 add better tests for Porting/bench.pl

2017/06/20
     3:39 add better tests for Porting/bench.pl
     0:34 [perl #131598] Buffer over-read in S_grok_bslash_N

2017/06/21
     0:10 process p5p mailbox
     3:03 add better tests for Porting/bench.pl
     0:10 [perl #131596] stack-overflow
     1:01 [perl #131606] Unknow address reference in Perl_hv_common

2017/06/22
     0:07 process p5p mailbox
     0:53 [perl #131582] Heap overflow
     0:48 [perl #131606] Unknow address reference in Perl_hv_common
     2:42 fix stack extend overruns

2017/06/23
     0:15 add better tests for Porting/bench.pl
     3:58 fix stack extend overruns

2017/06/24
     1:20 fix stack extend overruns
     0:08 [perl #131618] Out-of-bounds read in Perl_re_intuit_start/Perl_fbm_instr
     0:47 [perl #131568] Null pointer in S_set_haseval


SUMMARY:
      0:47 [perl #131568] Null pointer in S_set_haseval
      0:53 [perl #131582] Heap overflow
      0:10 [perl #131596] stack-overflow
      0:34 [perl #131598] Buffer over-read in S_grok_bslash_N
      1:49 [perl #131606] Unknow address reference in Perl_hv_common
      0:08 [perl #131618] Out-of-bounds read in Perl_re_intuit_start/Perl_fbm_instr
     12:29 add better tests for Porting/bench.pl
      8:00 fix stack extend overruns
      0:51 process p5p mailbox
    ------
     25:41 TOTAL (HH::MM)


-- 
I thought I was wrong once, but I was mistaken.



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About