Skip to content
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

Segfault on decrypt #11

Open
endertable opened this issue Jan 20, 2024 · 0 comments
Open

Segfault on decrypt #11

endertable opened this issue Jan 20, 2024 · 0 comments

Comments

@endertable
Copy link

When you run the decrypt function with the wrong key, it segfaults. Does anyone know how to prevent this. The line that segfaults with the wrong key is:

unsigned char *decrypt_data = xxtea_decrypt(text, strlen(text), key, &len);

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant