[php-src] PR #22733: Size is always one in curl functions

From: Date: Tue, 14 Jul 2026 17:06:41 +0000
Subject: [php-src] PR #22733: Size is always one in curl functions
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-37046@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/22733 Author: Sjord Assert and take advantage of that size is always 1. This is also documented in [the curl docs](https://curl.se/libcurl/c/CURLOPT_READFUNCTION.html). So there is no need to multiply with size, so this can be removed. I started this to see whether size * nmemb can overflow. This makes it clear that it cannot.

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