Skip to content
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

Fix #88 use correct type for variadic #98

Closed
wants to merge 1 commit into from

Conversation

remicollet
Copy link
Contributor

See in Zend_API.c

	int *n_varargs = NULL;
			n_varargs = va_arg(*va, int *);

So this raise very bad memory corruption, critical on bigendian.

Here is test build in Fedora infra, using 1.2.2 + this patch
https://koji.fedoraproject.org/koji/taskinfo?taskID=21124193

For all architectures (i386, x86_64, ppc64, ppc64le, s390x, armv6hl, aarch64) build ok + test suite passes.
You can see the build.log in each sub-task.

@remicollet
Copy link
Contributor Author

Notice: 1.2 branch seems in quite bad shape... segfauilts... (so why I run tests with 1.2.2 tag + this fix)

@remicollet remicollet changed the base branch from 1.2 to master August 9, 2017 08:01
@remicollet remicollet changed the base branch from master to 1.2 August 9, 2017 08:01
@remicollet
Copy link
Contributor Author

hmm... is 1.2 the correct branch ?

@rtheunissen
Copy link
Member

@remicollet open against master, I'll retag 1.2

@remicollet
Copy link
Contributor Author

See #99

@remicollet remicollet closed this Aug 9, 2017
@remicollet remicollet deleted the issue-bigend branch August 9, 2017 08:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants