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

[perl #132094] Bleadperl v5.27.3-31-gf14cf36320 DEBUGGING breaksETJ/Event-1.26.tar.gz

Thread Next
From:
Tony Cook via RT
Date:
September 18, 2017 04:04
Subject:
[perl #132094] Bleadperl v5.27.3-31-gf14cf36320 DEBUGGING breaksETJ/Event-1.26.tar.gz
Message ID:
rt-4.0.24-30908-1505707487-975.132094-15-0@perl.org
On Thu, 14 Sep 2017 21:24:48 -0700, andreas.koenig.7os6VVqR@franz.ak.mind.de wrote:
> bisect
> ------
> commit f14cf3632059d421de83cf901c7e849adc1fcd03
> Author: Tony Cook <tony@develop-help.com>
> Date:   Mon Aug 14 11:52:39 2017 +1000
> 
> (perl #131746) avoid undefined behaviour in Copy() etc
> 
> cpantesters
> -----------
> http://www.cpantesters.org/cpan/report/a4656f24-92a0-11e7-a6e8-
> 4c7815098ed7

The asserts added by this patch detect behaviour considered undefined behaviour in the C standard.

In this case, calling memset() with a NULL pointer (hidden in a Zero() macro) at line 272 in c/unix.c

Tony

---
via perlbug:  queue: perl5 status: open
https://rt.perl.org/Ticket/Display.html?id=132094

Thread Next


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