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 armhf segfault in error message handling #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cpaelzer
Copy link

On armhf the return value of an error to get a message gets read as
value 255 which qualifies as >0. But going on the message pointer has
a value of 0x25000000 and later on segfaults when trying to access that.

Fixes #14

Signed-off-by: Christian Ehrhardt christian.ehrhardt@canonical.com

On armhf the return value of an error to get a message gets read as
value 255 which qualifies as >0. But going on the message pointer has
a value of 0x25000000 and later on segfaults when trying to access that.

Fixes pgpool#14

Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
@tatsuo-ishii
Copy link
Collaborator

Sorry to inform you not earlier. Your patch has been merged into upstream.

https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=75b27e72537a5d0c8e1be2c9a405328accdc8133

Thank you very much!

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