perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gerald Richter - ECOS <gerald.rich...@ecos.de>
Subject RE: very easy to segfault embperl
Date Wed, 21 Jul 2010 09:21:30 GMT
Hi,

I ran accross this issue (with the path parameter) some days before on my own. I will fix
it, so a error message is generated instead of a seg fault

Gerald


> -----Original Message-----
> From: Michael Stevens [mailto:michael.stevens@dianomi.com]
> Sent: Tuesday, July 20, 2010 4:07 PM
> To: embperl@perl.apache.org
> Subject: very easy to segfault embperl
> 
> Hi.
> 
> I was trying to test something else when I discovered this script is
> enough to segfault embperl:
> 
> use strict;
> use Embperl;
> 
> my $output1;
> 
> my $input = "";
> 
> Embperl::Execute({
>      inputfile => "blah",
>      input => \$input,
>      output => $output1,
>      });
> 
> The mistake is that I'm providing $output1 and not \$output1, but a
> segfault seems like quite a harsh punishment!
> 
> --
> Michael Stevens
> Dianomi Ltd
> 18 Buckingham Gate
> London SW1E 6LB
> 
> Tel: 020 7802 5530
> Fax: 020 7630 7356
> www.dianomi.com
> 
> The information in this message and any attachment is intended for the
> addressee and is confidential and may be subject to legal privilege.
> Dianomi Ltd, Registered Office: One America Square, Crosswall, London.
> EC3N 2SG. Registered in England and Wales with Company Registration
> Number 4513809. VAT registration number: 809754988
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
> For additional commands, e-mail: embperl-help@perl.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Mime
View raw message