Review Request 120388: Do not sync if wallet file does not exist

Valentin Rusu kde at rusu.info
Mon Dec 29 22:14:08 UTC 2014



> On Sept. 27, 2014, 11:59 a.m., Arjun AK wrote:
> > src/runtime/kwalletd/backend/kwalletbackend.cc, line 421
> > <https://git.reviewboard.kde.org/r/120388/diff/1/?file=315572#file315572line421>
> >
> >     Is the return value correct?

Perhaps better file a bug report?


- Valentin


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/120388/#review67522
-----------------------------------------------------------


On Dec. 29, 2014, 1:17 p.m., Arjun AK wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/120388/
> -----------------------------------------------------------
> 
> (Updated Dec. 29, 2014, 1:17 p.m.)
> 
> 
> Review request for KDE Frameworks, Àlex Fiestas, Teo Mrnjavac, and Valentin Rusu.
> 
> 
> Repository: kwallet
> 
> 
> Description
> -------
> 
> 1. Create a new wallet "foo"
> 2. immediately remove the 'kwalletd5' directory
> 3. `KWalletD::timedOutSync()` will call sync on a nonexistant wallet (which will create "foo.kwl")
> 
> Kwalletmanager still lists the wallet and new data can be added to the wallet, but this data will be lost once the wallet is closed since the salt has been deleted and therefore the wallet cannot be opened again.
> 
> 
> Diffs
> -----
> 
>   src/runtime/kwalletd/backend/kwalletbackend.cc b072cec 
>   src/runtime/kwalletd/kwalletd.h b94df15 
>   src/runtime/kwalletd/kwalletd.cpp 882eb72 
> 
> Diff: https://git.reviewboard.kde.org/r/120388/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Arjun AK
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20141229/f4cdf026/attachment.html>


More information about the Kde-frameworks-devel mailing list