From e7b62386721e5bbfae83e5b9993f0982757afc2e Mon Sep 17 00:00:00 2001 From: zzstoatzz Date: Sun, 5 Apr 2026 21:54:56 -0500 Subject: [PATCH] bump zat + websocket.zig: fix handshake panic on TCP split mid-CRLF MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit websocket client read() panics when TCP delivers \r at buffer boundary without \n — line_start advances past pos, causing start > end slice. under ReleaseFast this was the silent SIGSEGV every 30-90 min. websocket.zig 9ac64da, zat v0.3.0-alpha.17. Co-Authored-By: Claude Opus 4.6 (1M context) --- build.zig.zon | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/build.zig.zon b/build.zig.zon index 5602e0a..b053db0 100644 --- a/build.zig.zon +++ b/build.zig.zon @@ -5,12 +5,12 @@ .minimum_zig_version = "0.16.0", .dependencies = .{ .zat = .{ - .url = "https://tangled.org/zat.dev/zat/archive/v0.3.0-alpha.16.tar.gz", - .hash = "zat-0.3.0-alpha.15-5PuC7nVhBQC8QDphqwrmXGqng1Xvo8ua_H5MqS-smp1T", + .url = "https://tangled.org/zat.dev/zat/archive/v0.3.0-alpha.17.tar.gz", + .hash = "zat-0.3.0-alpha.15-5PuC7nVhBQBnyDEw50Zwitd8ujG7mJumQlVtqYh08QML", }, .websocket = .{ - .url = "https://github.com/zzstoatzz/websocket.zig/archive/80c6434.tar.gz", - .hash = "websocket-0.1.0-ZPISdTHwAwA1d45BsYRE81Z8wNwZ3RhukgNADOma4eym", + .url = "https://github.com/zzstoatzz/websocket.zig/archive/9ac64da.tar.gz", + .hash = "websocket-0.1.0-ZPISdebwAwAGqC8MRLe7MFedo_K_Yy2mjYVAch4Ya4hZ", }, .pg = .{ .url = "git+https://github.com/zzstoatzz/pg.zig?ref=dev#5ce2355b1d851075523709c7d3068dcdb0224322", -- 2.51.2