Ian Cass wrote:
> OK, I've traced it down to the embedded perl interpreter inside main.c

I've confirmed this behaviour on Intel Linux as well - running main() twice
& executing the perl from perl_parse rather than perl_run. On Intel Linux,
though, it doesn't corrupt ARGV[0].

> It seems passing 14632 bytes of data on argv is causing some kind of
> buffer overrun.

It's not a buffer overrun. If I replace par.pl with a perl program
containing just 'print "hello world ";' about 2000 times, it works as
expected, running main() once & executing from perl_run. The size of
load_me_2 is 42k in this instance.

I'm gonna leave this for now.

-- 
Ian Cass

Reply via email to