SilentDragon crashes when right clicking empty banned peers list #95

Closed
opened 2 years ago by fekt · 3 comments
fekt commented 2 years ago
Collaborator

Discovered this when looking at adding GUI functionality for banning/unbanning peers. I have no banned peers currently. Right clicking in empty banned peers list causes SD to crash. Untested behavior when there are banned peers in list.

Discovered this when looking at adding GUI functionality for banning/unbanning peers. I have no banned peers currently. Right clicking in empty banned peers list causes SD to crash. Untested behavior when there are banned peers in list.
Poster
Collaborator

Seems to be from referencing wrong table here but not 100% sure:
https://git.hush.is/hush/SilentDragon/src/branch/master/src/mainwindow.cpp#L1215

I changed to bannedPeersTable and no longer crashes. Need to test with banned peers in list.

Seems to be from referencing wrong table here but not 100% sure: https://git.hush.is/hush/SilentDragon/src/branch/master/src/mainwindow.cpp#L1215 I changed to `bannedPeersTable` and no longer crashes. Need to test with banned peers in list.
Owner

@fekt yeah that code looks wrong, your edit is probably the correct fix

@fekt yeah that code looks wrong, your edit is probably the correct fix
Poster
Collaborator

Seems fixed in this commit. Tested right clicking in banned peers list with and without peers listed: a236d83322

Seems fixed in this commit. Tested right clicking in banned peers list with and without peers listed: https://git.hush.is/hush/SilentDragon/commit/a236d833223c52809126c005fbc523edfcf3c9a8
fekt closed this issue 2 years ago
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.