LANGUAGES Signal 294 2 feeds carried it
Rust 1.98.1 fixes vtable miscompilation that could cause undefined behavior
Rust 1.98.1 is a point release that fixes a miscompilation in vtable generation introduced in 1.98.0, which could produce null function pointers in trait object vtables and lead to undefined behavior.
Engineers running Rust 1.98.0 should update to 1.98.1 to avoid potential segfaults or arbitrary behavior from miscompiled trait object vtables. The bug is in code generation, so it affects compiled binaries, not just the compiler itself. Updating via rustup is straightforward.
Written by elseif from the cluster below · every claim links back to a sourceThe three things worth knowing
Rust 1.98.1 fixes a miscompilation in vtable generation that could produce a null pointer where a function pointer should be.
The bug was introduced in Rust 1.98.0 and can lead to undefined behavior, including segfaults or arbitrary effects.
Users with a previous version can update by running `rustup update stable`.
THE CLUSTER
↗