إرسال #919201: dvidelabs flatcc v0.6.3 Reachable Assertionالمعلومات

عنوانdvidelabs flatcc v0.6.3 Reachable Assertion
الوصفalign_order_members() sorts a table's member list by a computed order key k and asserts k > 0 before inserting into the ordering list (src/compiler/semantics.c:1059). When the same member name is declared twice, the second declaration's key collapses to 0 and the assert(k > 0) aborts the compile. Duplicate members are a plausible user typo, not an exceptional input — the parser should emit a redefinition error, not crash. Affected versions: flatcc v0.6.3 Severity: Medium (reachable assertion abort / SIGABRT; crash/DoS of the schema compiler) CWE: CWE-617 (Reachable Assertion)
المصدر⚠️ https://github.com/dvidelabs/flatcc/issues/387
المستخدم
 lrrh (UID 100159)
ارسال08/08/2026 10:41 AM (1 شهر منذ)
الاعتدال13/09/2026 03:01 PM (1 month later)
الحالةتمت الموافقة
إدخال VulDB403292 [Dvidelabs flatcc حتى 0.6.3 Duplicate Symbol src/compiler/semantics.c align_order_members الحرمان من الخدمة]
النقاط20

Might our Artificial Intelligence support you?

Check our Alexa App!