-
Notifications
You must be signed in to change notification settings - Fork 203
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
Found bug, please accept a patch in upstream #243
Comments
nevapadonak
pushed a commit
to nevapadonak/xl2tpd
that referenced
this issue
Aug 12, 2022
nevapadonak
pushed a commit
to nevapadonak/packages
that referenced
this issue
Aug 12, 2022
nevapadonak
pushed a commit
to nevapadonak/packages
that referenced
this issue
Aug 12, 2022
This reverts commit d5e1a32.
nevapadonak
pushed a commit
to nevapadonak/packages
that referenced
this issue
Aug 12, 2022
nevapadonak
pushed a commit
to nevapadonak/packages
that referenced
this issue
Aug 12, 2022
nevapadonak
added a commit
to nevapadonak/xl2tpd
that referenced
this issue
Aug 12, 2022
nevapadonak
added a commit
to nevapadonak/packages
that referenced
this issue
Aug 12, 2022
nevapadonak
added a commit
to nevapadonak/packages
that referenced
this issue
Aug 12, 2022
nevapadonak
added a commit
to nevapadonak/packages
that referenced
this issue
Aug 12, 2022
nevapadonak
added a commit
to nevapadonak/packages
that referenced
this issue
Aug 12, 2022
See details: xelerance/xl2tpd#243 Signed-off-by: НЕВСКИЙ БЛЯДИНА <[email protected]>
PR merged into 1.3.19dev branch |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
The bug is in xl2tpd-control.c, static array commands has no last element filled by NULLs:
There is the loop in main() going through this array:
But there is no guarantee that after the last element the memory will be filled by zeroes.
So it may works and may not.
In my environment (ARM, OpenWRT v21.02.0 distro) the program fails with segmentation fault.
This is the fix below. Please add in your code.
The text was updated successfully, but these errors were encountered: