ELSEIF
Your brief EB
475 stories from 211 feeds 1250 clusters Refreshed 1 minute ago next pull 00:10

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.

WHY IT MATTERS

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 source

The three things worth knowing

01

Rust 1.98.1 fixes a miscompilation in vtable generation that could produce a null pointer where a function pointer should be.

02

The bug was introduced in Rust 1.98.0 and can lead to undefined behavior, including segfaults or arbitrary effects.

03

Users with a previous version can update by running `rustup update stable`.

THE CLUSTER

Same story, 2 feeds.

ORDERED BY FIRST SEEN
Rust Blog Announcing Rust 1.98.1 Open ↗
Rust Blog via Lobsters Announcing Rust 1.98.1 Open ↗