[php-src] PR #24124: sapi/litespeed: Stop ub_write reporting a failed write as complete

From: Date: Sun, 04 Oct 2026 20:43:36 +0000
Subject: [php-src] PR #24124: sapi/litespeed: Stop ub_write reporting a failed write as complete
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-39141@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/24124 Author: iliaal Picks up #23426, which fixed the short-write return value and was closed for inactivity. LSAPI_Write() only ever returns the full length or -1, and the -1 was the bigger problem: compared as an int against a size_t length it never took the error branch, so a failed write counted as complete. LiteSpeed is not built in CI; the file compiles cleanly with -Wsign-compare. Fixes #23424

« previous php.git-pulls (#39141) next »