mhogomchungu / zuluCrypt

zuluCrypt is a front end to cryptsetup and tcplay and it allows easy management of encrypted block devices
https://mhogomchungu.github.io/zuluCrypt
Other
496 stars 61 forks source link

favourites gone after update from 6.0 to 6.1 #182

Closed thisisgregm closed 2 years ago

thisisgregm commented 2 years ago

As title says - favorites gone after updating from 6.0 to 6.1 OS: Xubuntu ver 6.0 - deb downloaded and installed on 21.10 ver 6.1 - deb downloaded and installed on 22.04

I wouldn't be able to replicate it and it's probably not a big deal for most users, but reporting just in case if you have a simple solution to avoid it in a future.

Thanks.

mhogomchungu commented 2 years ago

This is fixed now.

I switched to a different favorites systems in version 6.1 and the idea was to copy favorites from the old system to the new system and then delete favorites from the old system but a bug that was caused by accessing not initialized memory prevented copying to the new system.

I didn't catch it in my testing because printing logs while testing caused the memory to accidentally be properly initialized and things working as expected.