[vlc-commits] [Git][videolan/vlc][3.0.x] access: satip: fix fragmented send loop

Steve Lhomme (@robUx4) gitlab at videolan.org
Tue Sep 8 09:07:42 UTC 2026



Steve Lhomme pushed to branch 3.0.x at VideoLAN / VLC


Commits:
ca501f9a by François Cartegnie at 2026-09-08T08:57:22+00:00
access: satip: fix fragmented send loop

fix #30072
Reported-by: Fabian Wahle (Hap Security)

(adapted from commit b2d51fb1dead39d739a28b136e2675b4df8a1920)

- - - - -


1 changed file:

- modules/access/satip.c


Changes:

=====================================
modules/access/satip.c
=====================================
@@ -393,7 +393,7 @@ static void satip_teardown(void *data) {
                     return;
                 }
 
-                ret = send(sys->tcp_sock, msg + sent, len, MSG_NOSIGNAL);
+                ret = send(sys->tcp_sock, msg + sent, len - sent, MSG_NOSIGNAL);
                 if (ret < 0) {
                     msg_Err(access, "Failed to send RTSP teardown: %d\n", ret);
                     free(msg);



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/ca501f9a71df68a4dfcdf229e50e8455a06b0932

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/ca501f9a71df68a4dfcdf229e50e8455a06b0932
You're receiving this email because of your account on code.videolan.org. Manage all notifications: https://code.videolan.org/-/profile/notifications | Help: https://code.videolan.org/help




More information about the vlc-commits mailing list