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

병합
MicheleC feat/tdewallet-access-R14-0-6 에서 r14.0.x 로 1 commits 를 머지했습니다 5 년 전
MicheleC 코멘트됨, 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 년 전 마일스톤을 추가하였습니다.
SlavekB 코멘트됨, 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.
MicheleC 코멘트됨, 5 년 전
포스터
소유자

Great! I think we are ready to merge then

Great! I think we are ready to merge then
MicheleC closed this pull request 5 년 전
MicheleC 삭제된 브랜치 feat/tdewallet-access-R14-0-6 5 년 전
The pull request has been merged as 987768c54d.
로그인하여 이 대화에 참여
No reviewers
마일스톤 없음
담당자 없음
참여자 2명
알림
마감일

마감일이 설정되지 않았습니다.

의존성

No dependencies set.

Reference: TDE/tdelibs#16
불러오는 중...
아직 콘텐츠가 없습니다.