-
Notifications
You must be signed in to change notification settings - Fork 107
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
The stack-buffer-underflow bug can be triggered even by remote client #156
Comments
Hello @GoldBinocle , I'm worried this message "HINT: this may be a false positive if your program uses some custom stack unwind mechanism, swapcontext or vfork" |
Hi, @DmitriyEshenko. |
For example, this bug has the message but it's a real bug. |
I did tested accel-ppp for same conditions (disable clang sanitizer) with valgrind and didnt got any alert. Also as ASAN says it might be false positive on swapcontext, and we have exactly context switching in call trace: |
Using version
accel-ppp version 1.12.0-149-gff91c73
.The issue #154 can be triggered even by remote client.
Steps to reproduce
access-pppd
, use pptp server:The running configuration
/etc/accel-ppp.conf
is:use
chap-secrets
and the/etc/ppp/chap-secrets.ppp
is as follows:(Hint: we need to follow the forked subprocesses and control them, therefore we used the
strace -f
to execute the pptp client instead of simply usingpptpsetup --create pptpd --server 127.0.0.1 --username fouzhe --password 123 --start
.)Ctrl^C
) the client after authentication succeeded. Then theaccel-pppd
will crash due tostack-buffer-underflow
.The detailed log of
accel-pppd
is shown in accel-ppp.log.The text was updated successfully, but these errors were encountered: