Fixed SIGSEGV
This commit is contained in:
1 parent
f03882d3f4
commit
5b0019d50d
50 files changed
+1565
-821
No files matched your search
@@ -115,6 +115,8 @@ Testing</h3>
|
||||
<h3><a class="anchor" id="autotoc_md11"></a>
|
||||
Fixed</h3>
|
||||
<ul>
|
||||
<li>Replace the remaining <code>VAL_</code> and <code>SG_MUL_VAL_</code> regular expressions with a shared forward-only statement reader. Long descriptions and range lists no longer exhaust the stack. Preserve quoted escapes, exact integer values, deferred references, duplicate checks, and source-located diagnostics without imposing a new statement-length limit. Avoid repeatedly erasing <code>VAL_</code> prefixes.</li>
|
||||
<li>Add and register a dedicated statement robustness suite for 50,000-character fields, 10,000 value pairs/ranges, malformed long inputs, both parser APIs, metadata preservation, value lookup, and active/inactive branch decoding. Release and ASan/UBSan builds with the optional Qt adapter each pass 2,449 core checks, seven model checks, and the qmake tree test. One locale case skips; leak checking remains disabled due to ptrace.</li>
|
||||
<li>Reject all <code>SIG_VALTYPE_</code> declarations with a source-located <code>UnsupportedSignalType</code> error instead of silently decoding their payload as integers. Both parser APIs reject the unsupported operator, including type 0; the diagnostic API publishes no partial database. Namespace symbol listings remain quiet. No permissive mode is introduced.</li>
|
||||
<li>Display parser warnings and errors in the demo, and stop before building or decoding when parsing fails. Add parser and pipeline regressions for float32, float64, source locations, declaration order, and unchanged integer decoding. Verify Release and ASan/UBSan builds with the optional Qt adapter: 2,420 core checks, seven model checks, and the qmake tree test pass in each build. One named-locale case skips; leak checking remains disabled due to ptrace. Build the demo and verify error exits, visible warnings, and integer input.</li>
|
||||
<li>Replace recursive regular-expression matching for <code>SG_</code> statements with an iterative field scanner. Long unit strings no longer overflow the stack.</li>
|
||||
|
||||
Reference in new issue
Block a user