7
1
Fork 0

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

Zusammengeführt
MicheleC hat 1 Commits von feat/tdewallet-access-R14-0-6 nach r14.0.x vor 5 Jahren zusammengeführt
MicheleC hat vor 5 Jahren kommentiert
Besitzer

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

Same as #15 but for R14.0.x series
MicheleC hat diesen Issue vor 5 Jahren zum R14.0.6 release Meilenstein hinzugefügt
SlavekB hat vor 5 Jahren kommentiert
Besitzer

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 hat vor 5 Jahren kommentiert
Ersteller
Besitzer

Great! I think we are ready to merge then

Great! I think we are ready to merge then
MicheleC hat diesen Pull-Request vor 5 Jahren geschlossen
MicheleC löschte die Branch feat/tdewallet-access-R14-0-6 vor 5 Jahren
Der Pull Request wurde als 987768c54d gemergt.
Anmelden, um an der Diskussion teilzunehmen.
Keine Reviewer
Kein Meilenstein
Niemand zuständig
2 Beteiligte
Nachrichten
Fällig am

Kein Fälligkeitsdatum gesetzt.

Abhängigkeiten

Keine Abhängigkeiten gesetzt.

Referenz: TDE/tdelibs#16
Laden…
Hier gibt es bis jetzt noch keinen Inhalt.