-
Notifications
You must be signed in to change notification settings - Fork 220
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
ppp 2.5.0 crashed with buffer overfow when device name is too long #446
Comments
I tried gdb and got this backtrace
|
I add kernel parameters the prev interface name is |
I found it... Line 178 in f5aa69b
the |
…er specifies a too long device name Signed-off-by: Eivind Næss <eivnaes@yahoo.com>
this bug caused the issue: ppp-project/ppp#446 worked around by changing the iface name
Fix for github issue #446. Signed-off-by: Eivind Næss <eivnaes@yahoo.com>
@Reverier-Xu : How come you're not using the HAVE_STRUCT_SOCKADDR_LL path? I would have thought that was what most Linux systems would use. |
@paulusmack: @Reverier-Xu has done a comment here: |
sorry for replying so late. I'm using the ppp binary package in archlinux repository. But neither this package nor the program I built from the source code for debugging seems to use HAVE_STRUCT_SOCKADDR_LL. Could this be a problem with build system configuration? |
@enaess any comment on why some systems don't seem to get HAVE_STRUCT_SOCKADDR_LL turned on? |
@paulusmack Looks like the conftest checking for struct sockaddr_ll failed. It expanded into
And the compiler threw an error. I have a fix for this configure error shortly. |
New pull request to detect struct sockaddr_ll here: #456 |
I do get the notifications, just that my bandwidth to do anything is very limited. |
The |
@Chocobo1 so my change 9d6d326 was an attempt to fix it, but somehow it didn't work? Well, it should be fixed now with the latest merge by @paulusmack. Maybe Felix Yan needs a notification, and cherry pick my patch(es)? Likely, we need a new release of 2.5.1, and it probably should happen sooner rather than later. |
@enaess: @felixonmars is on GitHub :) |
Thanks! His user handle didn't automatically resolve for me in the GitHub comments field. |
Linked to: |
Patch applied in [core-testing]/ppp 2.5.0-3 as it looks like the new release is still no happening. |
@felixonmars: Thanks! @Reverier-Xu: It is good for you? |
no, this issue still happens on core-testing/ppp 2.5.0-3, i'll test git version later. |
It works for me on current master branch 84fc8a8 now! thanks for everyone! |
Strange that it does not good with the 2.5.0-3... |
This is because the |
Hi, after I upgraded ppp to 2.5.0 it became unusable.
My env is:
this is my
journalctl -b -u NetworkManager
:I also tried manually connect pppoe connection using
pon <service>
, it just output two lines and exited.The text was updated successfully, but these errors were encountered: