X.org Security Advisory: Security issue in the X server
We&#x27;re in 2023, and I&#x27;m still reading about pieces of software that can be exploited because of poor memory management (either unexpected reads, unexpected writes, or incorrect deallocation).<p>When I started diving into memory issues two decades ago, the younger version of me really thought that, 20 years down the line, we would have figured out better ways to deal with memory other than those buggy malloc, free, sprintf and strcat.<p>Guess what? We have! But way too much C&#x2F;C++ code is still around. The X window system is 40 years old, some parts of its code literally stand on toothpicks and there&#x27;s no one left around who still understands them, security flaws keep popping up once every 1-2 months, but it still powers nearly the entirity of the all the UIs that run on a UNIX - based system. Isn&#x27;t that just insane?