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

Sloučený
MicheleC sloučil 1 commity z větve feat/tdewallet-access-R14-0-6 do větve r14.0.x před před 5 roky
MicheleC okomentoval před 5 roky
Vlastník

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

Same as #15 but for R14.0.x series
MicheleC přidal/a toto do milníku R14.0.6 release před 5 roky
SlavekB okomentoval před 5 roky
Vlastník

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 okomentoval před 5 roky
Autor
Vlastník

Great! I think we are ready to merge then

Great! I think we are ready to merge then
MicheleC uzavřel/a tento požadavek na natažení před 5 roky
MicheleC odstranil/a větev feat/tdewallet-access-R14-0-6 před 5 roky
Požadavek na natažení byl sloučen jako 987768c54d.
Přihlaste se pro zapojení do konverzace.
Žádní posuzovatelé
Bez milníku
Bez zpracovatelů
2 účastníků
Oznámení
Termín dokončení

Žádný termín dokončení.

Závislosti

Nejsou nastaveny žádné závislosti.

Reference: TDE/tdelibs#16
Načítá se…
Není zde žádný obsah.