Home - Waterfall Grid T-Grid Console Builders Recent Builds Buildslaves Changesources - JSON API - About

Change #247976

Category curl
Changed by x2018 <xkernel.wangohnoyoudont@foxmail.com>
Changed at Sat 08 Nov 2025 10:28:43
Repository https://github.com/curl/curl.git
Project curl
Branch master
Revision a6fcaf29588a50aa6c27a05994ebe3478f041fba

Comments

rtmp: precaution for a potential integer truncation
On some platforms, socket descriptors may use types larger than int.
When these values exceed INT_MAX, conversion to int can truncate to
negative values causing RTMP connection failures, and even accidentally
affect other socket when high-value descriptors map to existing
lower-value sockets after integer conversion. This check ensures socket
values are within the safe range before passing them to the RTMP
library.

Closes #19399

Changed files