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
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

19 lines
944 B
Diff

diff --git a/lang/runtime/el_runtime.c b/lang/runtime/el_runtime.c
index 73c04e09..f2fbcb6a 100644
--- a/lang/runtime/el_runtime.c
+++ b/lang/runtime/el_runtime.c
@@ -18306,12 +18306,7 @@ static int el_bin_lookup(const void* p, size_t* out_len) {
static size_t el_input_len(const char* s) {
size_t n;
if (el_bin_lookup(s, &n)) return n;
- /* The FALLBACK is the hazard, not the tagged lookup. A NULL check does not
- * establish that a slot is a pointer: el_val_t carries integers too, so
- * strlen() on `sha256_hex(50000)` walks address 50000. Guarding the tagged
- * path alone left this untouched and the SIGSEGV unchanged -- measured. */
- if (!looks_like_heap_obj((el_val_t)(uintptr_t)s)) return 0;
- return strlen(s);
+ return s ? strlen(s) : 0;
}
/* ─── SHA-256 (Brad Conte / public domain) ──────────────────────────────── */