Martin Vogel
29d05589dc
fix(grammars): widen uint8_t loop counters in objectscript scanner (CodeQL)
...
CodeQL cpp/comparison-with-wider-type (4 high-severity alerts, #69-#72) flagged
two loops in the vendored ObjectScript scanner (objectscript_common.h, in both
the _routine and _udl grammar copies) where a uint8_t counter is compared
against an int length: the reverse_marker scan and the html_marker_buffer
reversal. Both lengths are hard-bounded by MARKER_BUFFER_MAX_LEN (30), so the
uint8_t counter can never wrap and the flagged infinite loop is unreachable in
practice — but widening the counters to int removes the pattern and clears the
gate. Provably behavior-neutral (int holds every uint8_t value; length <= 30).
Recorded as a local modification in the vendored grammar MANIFEST so it is
re-applied on the next re-vendor.
Signed-off-by: Martin Vogel <martin.vogel.tech@gmail.com >
2026-07-16 18:34:23 +02:00
..
2026-06-12 13:16:52 +02:00
2026-06-12 13:16:52 +02:00
2026-06-03 01:32:57 +02:00
2026-04-15 21:28:51 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 13:16:52 +02:00
2026-06-03 01:32:57 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 13:16:52 +02:00
2026-06-01 18:28:36 +02:00
2026-06-01 18:28:36 +02:00
2026-06-12 00:02:30 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 00:02:30 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 13:16:52 +02:00
2026-06-27 17:40:48 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 13:16:52 +02:00
2026-06-03 01:32:57 +02:00
2026-06-03 01:32:57 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 13:16:52 +02:00
2026-04-15 21:28:51 +02:00
2026-06-12 00:02:30 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 00:02:30 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 00:02:30 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 00:02:30 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 13:16:52 +02:00
2026-04-15 21:28:51 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 13:16:52 +02:00
2026-04-15 21:28:51 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 00:02:30 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 00:02:30 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 13:16:52 +02:00
2026-07-01 20:17:11 +02:00
2026-06-12 00:02:30 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 13:16:52 +02:00
2026-07-16 18:34:23 +02:00
2026-07-16 18:34:23 +02:00
2026-06-12 00:02:30 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 00:02:30 +02:00
2026-06-12 00:02:30 +02:00
2026-05-09 11:50:05 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 00:02:30 +02:00
2026-06-12 13:16:52 +02:00
2026-06-27 17:40:48 +02:00
2026-06-12 13:16:52 +02:00
2026-06-01 18:07:05 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 13:16:52 +02:00
2026-06-27 17:40:48 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 13:16:52 +02:00
2026-06-03 01:32:57 +02:00
2026-06-03 01:32:57 +02:00
2026-06-03 01:32:57 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 13:16:52 +02:00
2026-04-15 21:28:51 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 00:02:30 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 13:16:52 +02:00
2026-06-03 01:32:57 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 00:02:30 +02:00
2026-06-12 00:02:30 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 13:16:52 +02:00
2026-04-15 21:28:51 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 13:16:52 +02:00
2026-06-03 01:32:57 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 00:02:30 +02:00
2026-06-12 00:02:30 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 13:16:52 +02:00
2026-06-12 00:02:30 +02:00
2026-07-16 18:34:23 +02:00