#16 Fix to access old TDE wallet with special characters (R14.0.x series)

Merged
MicheleC merged 1 commits from feat/tdewallet-access-R14-0-6 into r14.0.x 4 months ago

Same as #15 but for R14.0.x series

Same as #15 but for R14.0.x series
MicheleC added this to the R14.0.6 release milestone 4 months ago
SlavekB commented 4 months ago
Owner

Problem with previous patch version identified and resolved. This was a similar problem as we recently dealt with in KPasswordEdit::password().

Calling TQString::fromLocal8Bit( "..." ) creates a temporary TQString object, but the subsequent use of const char * obtained by the ascii() method then refers to a portion of memory that has already been released and used for another purpose.

With a modified version of the patch, opening a wallet with a password with special characters works also in R14.0.6.

Problem with previous patch version identified and resolved. This was a similar problem as we recently dealt with in `KPasswordEdit::password()`. Calling `TQString::fromLocal8Bit( "..." )` creates a temporary TQString object, but the subsequent use of `const char *` obtained by the `ascii()` method then refers to a portion of memory that has already been released and used for another purpose. With a modified version of the patch, opening a wallet with a password with special characters works also in R14.0.6.
MicheleC commented 4 months ago
Owner

Great! I think we are ready to merge then

Great! I think we are ready to merge then
MicheleC deleted branch feat/tdewallet-access-R14-0-6 4 months ago
The pull request has been merged.
Sign in to join this conversation.
Loading…
Cancel
Save
There is no content yet.