Bug #5478
closedWt4 Auth LostPasswordWidget use after free
0%
Description
The preview version of Wt4, github 3.3.6-19-gd0b41786, seems to have a use after free error that is triggered by clicking "Ok" on the "Lost password" WMessageBox (the one that appears with the confirmation message: "An email has been sent. Follow the instructions to set a new password.").
This issue does not always result in a segfault. For instance, on my development system, one app segfaults consistently, while the hangman example does not. However, with valgrind, the issue can be observed in both cases.
A file with the first error reported by valgrind is attached (NOTE: executable path shortened, leading PID removed).
Also attached, for your review, is a patch that seemed to help in limited testing. It's mostly intended for testing/illustration. There are probably better solutions.
Files
Updated by Roel Standaert over 7 years ago
- Status changed from New to Implemented @Emweb
Updated by Roel Standaert over 7 years ago
- Status changed from Implemented @Emweb to Resolved
Updated by Roel Standaert over 6 years ago
- Status changed from Resolved to Closed