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

Anonymous authentication causes crash #8

Open
yinzara opened this issue Dec 20, 2017 · 0 comments
Open

Anonymous authentication causes crash #8

yinzara opened this issue Dec 20, 2017 · 0 comments

Comments

@yinzara
Copy link

yinzara commented Dec 20, 2017

If you do not call "setUser" on the WampConnection and provide a username and password, when the WampConnection attempts to connect, the application crashes because of a memory allocation issue related to WampCraUser in the WampConnectionPrivate class

The primary issue seems to be the odd way that the parent of the WampCraUser class is managed. I believe if you just remove all the special code related to parent and use it as a standard QtObject struct, you remove any issues related to the memory management. I can't understand why the special parent management is necessary.

I have fixed this issue in my fork and will update when I have more information.

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