| 제목 | 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) |
|---|
| 제출 | 2026. 08. 08. AM 10:41 (1 월 ago) |
|---|
| 모더레이션 | 2026. 09. 13. PM 03:01 (1 month later) |
|---|
| 상태 | 수락 |
|---|
| VulDB 항목 | 403292 [Dvidelabs flatcc 까지 0.6.3 Duplicate Symbol src/compiler/semantics.c align_order_members 서비스 거부] |
|---|
| 포인트들 | 20 |
|---|