We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
we had read the source code , found the bug: file: serializer.c line: 76, 101
the 2nd var is 1,
101 if (php_protocolbuffers_serializer_resize(serializer, 1)) {
but look the code bellow; it use 4 or 8
123 serializer->buffer[serializer->buffer_size++] = target[0]; 124 serializer->buffer[serializer->buffer_size++] = target[1]; 125 serializer->buffer[serializer->buffer_size++] = target[2]; 126 serializer->buffer[serializer->buffer_size++] = target[3]; 127 serializer->buffer[serializer->buffer_size++] = target[4]; 128 serializer->buffer[serializer->buffer_size++] = target[5]; 129 serializer->buffer[serializer->buffer_size++] = target[6]; 130 serializer->buffer[serializer->buffer_size++] = target[7];
so , this is a bug, I change the 2nd var to 4 or 8, then rebuild the code, it work fine. plz the author fixed it for everyone. thank you.
The text was updated successfully, but these errors were encountered:
@huasonglee ,thx. I have solved the problem just like you said.
Sorry, something went wrong.
No branches or pull requests
we had read the source code , found the bug:
file: serializer.c
line: 76, 101
the 2nd var is 1,
101 if (php_protocolbuffers_serializer_resize(serializer, 1)) {
but look the code bellow; it use 4 or 8
123 serializer->buffer[serializer->buffer_size++] = target[0];
124 serializer->buffer[serializer->buffer_size++] = target[1];
125 serializer->buffer[serializer->buffer_size++] = target[2];
126 serializer->buffer[serializer->buffer_size++] = target[3];
127 serializer->buffer[serializer->buffer_size++] = target[4];
128 serializer->buffer[serializer->buffer_size++] = target[5];
129 serializer->buffer[serializer->buffer_size++] = target[6];
130 serializer->buffer[serializer->buffer_size++] = target[7];
so , this is a bug, I change the 2nd var to 4 or 8, then rebuild the code, it work fine.
plz the author fixed it for everyone. thank you.
The text was updated successfully, but these errors were encountered: