Re:Debian on xz-utils: revert to version that does not conta...
by lifthrasiir on Saturday March 30, 2024 @08:21AM
(#39874149)
Different platforms and distros still share a handful of common environments, while autoconf was invented back when there were hundreds of different environments to care about. Xz doesn't depend that much on the platform and could have ditched autoconf at least in the theory. But such switch is annoying in the world of C/C++.
Re:Debian on xz-utils: revert to version that does not conta...
by josephg on Saturday March 30, 2024 @08:41AM
(#39874300)
I'd say there are fewer ways to hide exploits like this. Rust doesn't use configure scripts. And it has a built in testing mechanism - so there's no need for makefiles to run scripts. Any build scripts as complicated as configure in a rust project would be a much bigger red flag. And it would be rare and weird to see GNU_IFUNC in use in a rust project too.
Sure; you can hide nasty code in rust. But I think it would have been harder. Not because rust is memory safe. But because rust is decades newer, and it doesn't inherit all of the quirks in C, in its build system and obscure mechanisms for dynamic linking.
Build system is complex because of legacy and need to support millions of different platforms and distros.