提交 #919199: dvidelabs flatcc v0.6.3 Memory Leak信息

标题dvidelabs flatcc v0.6.3 Memory Leak
描述define_fb_name() inserts reserved keywords into a dedicated keyword_index hash table (src/compiler/semantics.c:260). The parser's teardown (fb_clear_parser) frees the attribute_index and include_index tables but omits keyword_index, so every schema parse leaks the keyword table (~1024 bytes). For any persistent process (fuzz harness, daemon, IDE language server) that parses schemas repeatedly, memory grows without bound. Affected versions: flatcc HEAD v0.6.3 Severity: Medium (deterministic per-parse memory leak; DoS by resource exhaustion in persistent processes) CWE: CWE-401 (Improper Release of Memory Before Removing Last Reference)
来源⚠️ https://github.com/dvidelabs/flatcc/issues/389
用户
 lrrh (UID 100159)
提交2026-08-08 10時37分 (1 月前)
管理2026-09-13 15時01分 (1 month later)
状态已接受
VulDB条目403290 [Dvidelabs flatcc 直到 0.6.3 src/Compiler/semantics.c fb_clear_parser 拒绝服务]
积分20

Do you know our Splunk app?

Download it now for free!