develooper Front page | perl.perl5.porters | Postings from March 2023

Re: PERL_RC_STACK branch: first cut

Thread Previous | Thread Next
Dave Mitchell
March 1, 2023 14:01
Re: PERL_RC_STACK branch: first cut
Message ID:
On Wed, Mar 01, 2023 at 01:53:03PM +0100, demerphq wrote:
> Sereal::Encoder/Decoder do support custom opcode stuff but afaik they did
> not break. Not sure why yet. Is it expected that some such code would still
> be fine?

Any non-core PP function (called either via a custom OP or from a standard
perl OP where the op_ppaddr has been replaced with the user's PP function)
and which hasn't been wrapped nor updated will tend to:
   - leak any args passed to it;
   - have any values it returns be prematurely freed later;
due to the reference-count bookkeeping not being done.

Fire extinguisher (n) a device for holding open fire doors.

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About