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

Merge aplicado
MicheleC aplicou merge dos 1 commits de feat/tdewallet-access-R14-0-6 em r14.0.x 5 anos atrás
Proprietário

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

Same as #15 but for R14.0.x series
MicheleC adicionou esta issue para o marco R14.0.6 release 5 anos atrás
Proprietário

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.
Autor
Proprietário

Great! I think we are ready to merge then

Great! I think we are ready to merge then
MicheleC fechou este pull request 5 anos atrás
MicheleC excluiu branch feat/tdewallet-access-R14-0-6 5 anos atrás
O pull request teve merge aplicado como 987768c54d.
Acesse para participar desta conversação.
Sem revisor
Sem responsável
2 participante(s)
Notificações
Data limite

Data limite não informada.

Dependências

Nenhuma dependência definida.

Referência: TDE/tdelibs#16
Carregando…
Ainda não há conteúdo.