Everybody makes mistakes when writing comparison functions

Recently the OpenSSL 3.0.0 library was released. We decided to look at the project’s code quality and checked it with the PVS-Studio static analyzer. The code quality is excellent. Thus, we cannot write a long article about errors, as we usually do. However, there was one beautiful mistake, and I couldn’t ignore it.

Continue reading

How Visual Studio 2022 ate up 100 GB of memory and what XML bombs had to do with it

In April 2021 Microsoft announced a new version of its IDE – Visual Studio 2022 – while also announcing that the IDE would be 64-bit. We’ve been waiting for this for so long – no more 4 GB memory limitations! However, as it turned out, it’s not all that simple…

Continue reading

Linux kernel turns 30: congratulations from PVS-Studio

Author: Sergey Larin

On August 25th, 2021, the Linux kernel celebrated its 30th anniversary. Since then, it’s changed a lot. We changed too. Nowadays, the Linux kernel is a huge project used by millions. We checked the kernel 5 years ago. So, we can’t miss this event and want to look at the code of this epic project again.

Continue reading