همهٔ گزارش‌ها
متوسط

ruint affected by unsoundness of safe `reciprocal_mg10`

متن اصلی

نسخه‌های متأثر

بازه‌ها نیاز به بررسی دارند.

Rust / Cargoruint
نسخه‌های متأثر
>=0.0.0-0 <1.17.1
نسخهٔ اصلاح‌شده
1.17.1
Rust / Cargoruint
نسخه‌های متأثر
<= 1.17.0
نسخهٔ اصلاح‌شده
اعلام نشده

شرح آسیب‌پذیری

The function reciprocal_mg10 is marked as safe but can trigger undefined behavior (out-of-bounds access) because it relies on debug_assert! for safety checks instead of assert!.

When compiled in release mode, the debug_assert! is optimized out, potentially allowing invalid inputs to cause memory corruption.

پیوندها