2017-05-19
2017-05-19 08:08:42 by Per Cederqvist <cederp@opera.com>
-
14003a7441691788a7da4b4b47121c8a70b01a84
(3 lines)
(+2/-1)
[
Show
| Annotate
]
Branch: 8.0
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;