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.
{
"nvd_published_at": null,
"cwe_ids": [
"CWE-119"
],
"severity": "MODERATE",
"github_reviewed": true,
"github_reviewed_at": "2025-12-26T18:55:53Z"
}