State corruption in AnyEvent::Loop

Marc Lehmann schmorp at schmorp.de
Mon Jun 29 09:26:25 CEST 2020


On Sat, Jun 27, 2020 at 01:20:38PM +0200, Yorhel <info at yorhel.nl> wrote:
> Digging a bit further, it is indeed fixable in AnyEvent::Loop with the
> attached patch.

It's not a bug in AnyEvent::Loop, so the patch can't fix it. It can
only be fixed in the code that corrupts $_. Working around that in
AnyEvent::Loop will only make AnyEvent::Loop slower, but the bug can still
happen as it is in the code changing $_.

-- 
                The choice of a       Deliantra, the free code+content MORPG
      -----==-     _GNU_              http://www.deliantra.net
      ----==-- _       generation
      ---==---(_)__  __ ____  __      Marc Lehmann
      --==---/ / _ \/ // /\ \/ /      schmorp at schmorp.de
      -=====/_/_//_/\_,_/ /_/\_\



More information about the anyevent mailing list