-
Notifications
You must be signed in to change notification settings - Fork 326
PHP 7: Segfault with Igbinary and Variable References #326
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thanks for the bug report! |
TysonAndre
added a commit
to igbinary/igbinary
that referenced
this issue
Feb 15, 2017
- The string de-duplication lookup map wasn't being initialized because this was neither an array nor an object, and it was assumed to be a scalar(It was actually a reference) Affects integrations with other extensions, but standalone igbinary shouldn't be affected. Fixes php-memcached-dev/php-memcached#326
@TysonAndre does php-memcached require any code changes to benefit from the bug fix in igbinary? Or just note it for users to upgrade their igbinary versions? |
No, php-memcached doesn't require any code changes. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Running the following code produces a segmentation fault:
Here are the version numbers:
PHP: 7.0.15
igbinary: 2.0.1
memcached: 3.0.0
libmemcached: 1.0.18
The segmentation fault does not occur if you remove the reference (i.e. use
$b = ['a'=>$a];
) or addini_set('memcached.serializer', 'php');
The text was updated successfully, but these errors were encountered: