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

已合併
MicheleC 將 1 次提交從 feat/tdewallet-access-R14-0-6 合併至 r14.0.x 5 年前
擁有者

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

Same as #15 but for R14.0.x series
MicheleC 新增到 R14.0.6 release 里程碑 5 年前
擁有者

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.
發布者
擁有者

Great! I think we are ready to merge then

Great! I think we are ready to merge then
MicheleC 關閉了這個合併請求 5 年前
MicheleC 刪除分支 feat/tdewallet-access-R14-0-6 5 年前
此合併請求已被合併為 987768c54d
登入 才能加入這對話。
沒有審核者
未選擇里程碑
沒有負責人
2 參與者
通知
截止日期

未設定截止日期。

先決條件

未設定先決條件。

參考: TDE/tdelibs#16
載入中…
尚未有任何內容