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

Samengevoegd
MicheleC heeft 1 commits samengevoegd van feat/tdewallet-access-R14-0-6 naar r14.0.x 5 jaren geleden
Eigenaar

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

Same as #15 but for R14.0.x series
MicheleC heeft dit 5 jaren geleden aan de mijlpaal R14.0.6 release toegevoegd
Eigenaar

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.
Poster
Eigenaar

Great! I think we are ready to merge then

Great! I think we are ready to merge then
MicheleC heeft deze pull request gesloten 5 jaren geleden
MicheleC heeft 5 jaren geleden de branch feat/tdewallet-access-R14-0-6 verwijderd.
De pull request is samengevoegd als 987768c54d.
Log in om deel te nemen aan deze discussie.
Geen beoordelaars
Geen mijlpaal
Niet toegewezen
2 deelnemers
Notificaties
Vervaldatum

Geen vervaldatum ingesteld.

Afhankelijkheden

Geen afhankelijkheden ingesteld.

Referentie: TDE/tdelibs#16
Laden…
Er is nog geen inhoud.