If you have a QObject class that can be deleted at any time but you keep a pointer to it somewhere to work with it – you better watch it.
Deleting a class is perfectly fine. Deleting it and having to remember to set its pointer to ‘nullptr’ is critical, you might forget to. The best solution is to use QPointer to store your QObject class. A QPointer automatically sets itself to nullptr if the contained class has been deleted.
I was playing around with btrfs, a very modern and powerful filesystem for Linux, as I consider using it in the future with RAID5 (yes this is dangerous and maybe there is a blog post coming about this issue).
While trying to test btrfs’ abilities I was also testing the glorious super fast and effective zstandard (zstd) compression library by Facebook – for file system compression with btrfs. Zstd is relatively new to btrfs since Linux 4.14.
Curious about how I could make an easy and exciting test I decided to create a file with only zeroes with undefined file size.
New versions of Samba have the authentification method “lanman” aka. LanManager of Windows 3.11 deactivated by default, increasing samba’s overall security. As lanman uses weak hashes for authentification user passwords can be bruteforced quickly.
Sadly this prevents Windows 3.11 from connection to your Samba shares. But there is an easy way to allow old clients to connect again, but don’t forget that supporting old things lead to old vulnerabilities.
Privacy & Cookies Policy
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.