Skip to content

Fix for sporadic segfault with MYSQLI_OPT_INT_AND_FLOAT_NATIVE #2250

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

Closed
wants to merge 1 commit into from

Conversation

vanviegen
Copy link
Contributor

Fixes bug #73800

@php-pulls
Copy link

Comment on behalf of krakjoe at php.net:

labelling

@php-pulls php-pulls added the Bug label Dec 21, 2016
@nikic
Copy link
Member

nikic commented Dec 21, 2016

You mentioned on the bug report that this issue is not reproducible deterministically. Maybe it would be possible to create a test that consistently generates a warning when run under valgrind?

Otherwise the fix looks correct (though imho what we're doing in read_text_protocol_aux is horrible and we might want to copy the values to a stack buffer for conversion instead).

php-pulls pushed a commit that referenced this pull request Jan 2, 2017
@krakjoe
Copy link
Member

krakjoe commented Jan 2, 2017

Merged 732f67e

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants