Branch: Tag:

2017-05-19

2017-05-19 08:08:42 by Per Cederqvist <cederp@opera.com>

Callbacks [debug]: Fix typo in mask in check_callback_chain().

Fixes infinite loop in circularity detection.

Thanks to Per Cederqvist <cederp@opera.com> for the report and patch.

Fixes [LysLysKOM 22087722].

49: Inside #if defined(PIKE_DEBUG)
   {    for(foo=lst->callbacks;foo;foo=foo->next)    { -  if((len & 1024)==1023) +  if((len & 1023)==1023)    {    int len2=0;    struct callback *tmp;