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

Backport of #6179 #6418

Merged
merged 1 commit into from Mar 30, 2018

Conversation

Projects
None yet
3 participants
@zeha
Copy link
Collaborator

zeha commented Mar 29, 2018

Short description

Backport of #6179

Throwing an exception uses libgcc's stack unwinder. On mips64el
the unwinder will overflow the default stack size of 8K. In turn
the return ucontext gets overwritten, resulting in a jump into
garbage.

This is Debian bug #887034. Patch is applied in Debian pdns-recursor 4.1.0-3. Build logs will be at https://buildd.debian.org/status/package.php?p=pdns%2drecursor

Debian pdns-recursor 4.1.1-1 shipped with this patch.

Checklist

I have:

  • read the CONTRIBUTING.md document
  • compiled and tested this code
  • included documentation (including possible behaviour changes)
  • documented the code
  • added or modified regression test(s)
  • added or modified unit test(s)
  • checked that this code was merged to master
Increase MTasker stacksize
Throwing an exception uses libgcc's stack unwinder. On mips64el
the unwinder will overflow the default stack size of 8K. In turn
the return ucontext gets overwritten, resulting in a jump into
garbage.

@zeha zeha added rec defect labels Mar 29, 2018

@zeha zeha added this to the rec-4.1.x milestone Mar 29, 2018

@zeha zeha changed the title Backport #6179 Backport of #6179 Mar 29, 2018

@rgacogne rgacogne merged commit 2f7c859 into PowerDNS:rel/rec-4.1.x Mar 30, 2018

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details

@zeha zeha deleted the zeha:backport-6179 branch Jan 18, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.