-
Notifications
You must be signed in to change notification settings - Fork 0
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
SIGSEGV on parsing parameters #1
Comments
Thanks for the stack traces. |
Hi, In a typical scenario it works fine:
Tbh I haven't noticed that it was a typo until you tell me now (old habits from traditional Linux
Initially, I thought this could be an error on I'm using cryptmount from distro repo.
|
Thanks - I think you're right that the initialization of the |
Hi Richard. Thank you. |
Thanks - I've submitted a bug report covering the Ubuntu package linking to this page and supplying a patch. |
Could you provide access to user dukpt? |
Hi,
A SIGGEGV is happening in the following scenario:
I investigated a little bit and apparently the problem is happening inside
parse_options()
when calling libcgetopts_long()
. Please check below the output on gdb (I redacted some verbose output):After that, if you continue a SIGSEGV will happen:
Maybe there some issue with the structure size.
The same bug happens within distro version of cryptmount.
I compiled the last code from master and I'm running Ubuntu 22.04.2 (jammy).
Thanks
The text was updated successfully, but these errors were encountered: