[perl #33028] Parrot cores when asked to run a nonexistent bytecode file
[perl #33028] Parrot cores when asked to run a nonexistent bytecode file

>     ./parrot foo.pbc
>
> when foo.pbc doesn't exist triggers a core dump on OS X.

strlen() is puking on the NULL return from Parrot_locate_runtime_file()
in Parrot_readbc. Attached patch fixes this behavior.

Courtey of Matthew Zimmerman <mzimmerman@virginia.edu>


git-svn-id: 6e74a02f85675cec270f5d931b0f6998666294a3@7290 d31e2699-5ff4-0310-a27c-f18f2fbe73fe

youprofit/parrot,gagern/parrot,tkob/parrot,tewk/parrot-select,gitster/parrot,parrot/parrot,fernandobrito/parrot,fernandobrito/parrot,fernandobrito/parrot,gagern/parrot,youprofit/parrot,tkob/parrot,parrot/parrot,tewk/parrot-select,tewk/parrot-select,gagern/parrot,tkob/parrot,youprofit/parrot,tkob/parrot,tkob/parrot,FROGGS/parrot,fernandobrito/parrot,tewk/parrot-select,youprofit/parrot,gitster/parrot,parrot/parrot,youprofit/parrot,gitster/parrot,youprofit/parrot,FROGGS/parrot,youprofit/parrot,FROGGS/parrot,parrot/parrot,FROGGS/parrot,gitster/parrot,gagern/parrot,youprofit/parrot,fernandobrito/parrot,gitster/parrot,FROGGS/parrot,fernandobrito/parrot,tewk/parrot-select,FROGGS/parrot,FROGGS/parrot,FROGGS/parrot,gagern/parrot,tkob/parrot,parrot/parrot,tewk/parrot-select,tewk/parrot-select,gitster/parrot,tkob/parrot,gitster/parrot,gagern/parrot,tkob/parrot,gagern/parrot,fernandobrito/parrot