--- trealla-2.92.11/src/bif_posix.c.orig 2026-04-01 10:39:59.000000000 +0200 +++ trealla-2.92.11/src/bif_posix.c 2026-04-01 21:51:27.527912545 +0200 @@ -204,7 +204,7 @@ time_t when = get_smallint(p1); char tmpbuf[256]; cell tmp; - make_cstring(&tmp, ctime_r(&when, tmpbuf)); + make_cstring(&tmp, ctime_r(&when, tmpbuf, 256)); bool ok = unify(q, p2, p2_ctx, &tmp, q->st.curr_fp); unshare_cell(&tmp); return ok;