This repository has been archived on 2026-08-20. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
el-retired/docs/v2/experiments/evidence/cycles/02-seven-tables-and-a-shipped-defect/0003-02-BUGGY-el_input_len-source.out
T
will d3495476f4
El SDK Release / build-and-release (push) Failing after 13m0s
kill: purge old-paradigm dist/platform binaries from tree
The generated C, amalgams, vendored runtime pins, and compiled binaries
from the Claude Code era are removed from the worktree. The El sources
survive; this tree is now source-only for the first-principles rebuild.

Per Principal direction 2026-08-19.
2026-08-19 19:46:15 -05:00

12 lines
570 B
Plaintext

18306:static size_t el_input_len(const char* s) {
18307- size_t n;
18308- if (el_bin_lookup(s, &n)) return n;
18309- /* The FALLBACK is the hazard, not the tagged lookup. A NULL check does not
18310- * establish that a slot is a pointer: el_val_t carries integers too, so
18311- * strlen() on `sha256_hex(50000)` walks address 50000. Guarding the tagged
18312- * path alone left this untouched and the SIGSEGV unchanged -- measured. */
18313- if (!looks_like_heap_obj((el_val_t)(uintptr_t)s)) return 0;
18314- return strlen(s);
18315-}
18316-