-
Notifications
You must be signed in to change notification settings - Fork 79
check return value of dladdr #70
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
base: master
Are you sure you want to change the base?
check return value of dladdr #70
Conversation
|
Any way this could get applied? |
|
@rdp Which distro are you using? You might have more luck approaching the package maintainers of your distro and ask them if they can apply that patch. |
|
Ahh its unmaintained #84 durn... |
|
@josch Ubuntu so maybe you could help? :) |
|
I'm the package maintainer in Debian. So I can apply this fix and then Ubuntu will (hopefully) copy it over from Debian unstable for the jammy release. I am not a Ubuntu developer, so I cannot directly make changes there. |
|
@rdp I now added the changes from this pull request to the version that Debian ships. It should end up in Ubuntu at some point as well. @lugia-kun I also added a test case using your code above. Please consider adding the test case to this pull request as well: https://sources.debian.org/src/fakechroot/2.20.1+ds-1/debian/patches/0008-check-return-value-of-dladdr.patch/ |
|
Thanks!
…On Thu, Nov 11, 2021 at 1:05 PM josch ***@***.***> wrote:
@rdp <https://github.com/rdp> I now added the changes from this pull
request to the version that Debian ships. It should end up in Ubuntu at
some point as well.
@lugia-kun <https://github.com/lugia-kun> I also added a test case using
your code above. Please consider adding the test case to this pull request
as well:
https://sources.debian.org/src/fakechroot/2.20.1+ds-1/debian/patches/0008-check-return-value-of-dladdr.patch/
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#70 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAADBUHZZRXHPYFYGG3KOVDULQO2FANCNFSM4MXCJ7WA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
|
Fixes crystal-lang/crystal#9209 Thanks for adding a test case. |
|
Hi @lugia-kun, could you mark |
dladdrleave unchanged forinfo(on Linux), when it returns error (0).This can be checked easily with following C code, which causes a segmentation fault before this change.