From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.ffmpeg.org (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTPS id 752644CB8A for ; Fri, 31 Oct 2025 00:47:15 +0000 (UTC) Authentication-Results: ffbox; dkim=fail (body hash mismatch (got b'lebNLilHApiPIYUtdMv8ATCfqzow01FsyZVpt949u1Q=', expected b'Pr0rQY2Uleihb72SG+EAAg8BG163IplRv2B6f1J9UHQ=')) header.d=ffmpeg.org header.i=@ffmpeg.org header.a=rsa-sha256 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ffmpeg.org; i=@ffmpeg.org; q=dns/txt; s=mail; t=1761871629; h=mime-version : to : date : message-id : reply-to : subject : list-id : list-archive : list-archive : list-help : list-owner : list-post : list-subscribe : list-unsubscribe : from : cc : content-type : content-transfer-encoding : from; bh=lebNLilHApiPIYUtdMv8ATCfqzow01FsyZVpt949u1Q=; b=T9pzI8qStefB+gyzA/yDPrheIiEiHh6ZV00HCneQ7H1ArDDprazmzuJ61geOtUGE4ULSZ 1Zfm2adVRpdojfe7ij8VPih82nPog7D6LmYAq7Drx7uGhxeZIPSW/ua7B1LvQGaVDFdmHXa LEdIGGcdNMnJuHSZNQEYYJ36Ffp2sRm5eRD/sLGcCBmPh6vOB5I4w6GtOkFuO/LJuNxWGRK c27JIz3zzdi3QpxwTLDkI7kWgqCIVLnNkdVccDlo3TWJKXEz51hfAJxZ6foHjdX82u8i1Pc kiRj1Qid7t3C69qtiTch30ikkn9LLQmaMP3xuu/dcT1R9hD3Wp3UYWHSFRFQ== Received: from [172.19.0.2] (unknown [172.19.0.2]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id 5CC3268F849; Fri, 31 Oct 2025 02:47:09 +0200 (EET) ARC-Seal: i=1; cv=none; a=rsa-sha256; d=ffmpeg.org; s=arc; t=1761871615; b=J/tNGagyymEazoQcdIFXH32Ea0SRVRxkk05n5Q9EIaoxrbih6QXzf6Yu0exMjmNRRR82Z vAnoHWNIwEqYlGs6FDsgVjpWenQix073cprG+xUBVomhLSWfeFF85XMEE2tG/OeqUkB5c12 mye0GlgObGGRXFSTT6BEFE2F3MSKfIVubVZRRgVctaDRvUwoCsyTQVYBQ9U3gwI1k0X3vt1 w9cVRosPeBzodOYcw8sp4Q4I2cb1btncFO+ClXDx40053VrSAB/LWMP11ruvV9ivP6WQJTD pqHu9VkyISk51F5iyIPYD5BB2EYFVnbHNPhSGqkqncD4AWzwoh1g2FitMueg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=ffmpeg.org; s=arc; t=1761871615; h=from : sender : reply-to : subject : date : message-id : to : cc : mime-version : content-type : content-transfer-encoding : content-id : content-description : resent-date : resent-from : resent-sender : resent-to : resent-cc : resent-message-id : in-reply-to : references : list-id : list-help : list-unsubscribe : list-subscribe : list-post : list-owner : list-archive; bh=qakah6Kq2dFzsv4hyyh4q3wJvJ4dvvgP38OyF1DMsTk=; b=AmO1aSVniVYAJd0aDoulr+FHlPAf3Dz6ucLKmse/TpsqfLbGGd49aMj4eM/D55InaFO/1 jA1j7+XOQ1XNtJGfoESFmndnME4GmwCqBeEunDHatlZKKxuPCU7I9xYlnb95Hz2gw0JJ6NV 9zi8n2w/NPIPWV5ActlLc5dUWbgYPDOT/M6wJnBl5rEZNgi80V6ulaG5CbcH70ZLpvgZJbW l352zQkxGeolLEKgq/9TJqMmYeirJK6lZCcM6bgWsFe1ls+Hh9i/9YxTEjv94xZDMUbNYn+ sttT8T6YTPu6wJEf9Gn4BSqdcu31Rn6hl/b8mj/xBiVSWdLNe2bHxYcF2gsw== ARC-Authentication-Results: i=1; ffmpeg.org; dkim=pass header.d=ffmpeg.org header.i=@ffmpeg.org; arc=none; dmarc=pass header.from=ffmpeg.org policy.dmarc=quarantine Authentication-Results: ffmpeg.org; dkim=pass header.d=ffmpeg.org header.i=@ffmpeg.org; arc=none (Message is not ARC signed); dmarc=pass (Used From Domain Record) header.from=ffmpeg.org policy.dmarc=quarantine DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ffmpeg.org; i=@ffmpeg.org; q=dns/txt; s=mail; t=1761871606; h=content-type : mime-version : content-transfer-encoding : from : to : reply-to : subject : date : from; bh=Pr0rQY2Uleihb72SG+EAAg8BG163IplRv2B6f1J9UHQ=; b=yKQ+LSOcMPAb4ohw0idMdhJutTxnAhDXKOasaMn2KLzjE3J5VjjCzJRianSLZxH314Eqx EkLx+HZD/vbh2HIoB1zGW4aShAPm63rAKs3bfUlYAEdyaHyk5nSRtUAnQSgjn09TdJtPrZe VVm1MtkKXOGz6s+2iT+YIPaDKQeHpfb7NYmG+FiXJCehwsSf3AZM94hNfjtnpXwc1swVItu GQJjTlSSH/qNUY3S6w13XWCqp31fzohLj7Agt4JxjiGxJi75C8J5veFhpMRixazJI6ZKwHD MiELUuBDkYg9aJYIjyIXBvk+1Zqvb5d8se/XrCXOZAuBGfaKDQMml3yIotvA== Received: from 02c22a36bd31 (code.ffmpeg.org [188.245.149.3]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTPS id C365468F843 for ; Fri, 31 Oct 2025 02:46:46 +0200 (EET) MIME-Version: 1.0 To: ffmpeg-devel@ffmpeg.org Date: Fri, 31 Oct 2025 00:46:46 -0000 Message-ID: <176187160697.81.6424101694422551004@7d278768979e> Message-ID-Hash: RUJHN5FX7V2ASLSVJQXIMOTBGS3ASPKP X-Message-ID-Hash: RUJHN5FX7V2ASLSVJQXIMOTBGS3ASPKP X-MailFrom: code@ffmpeg.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; header-match-ffmpeg-devel.ffmpeg.org-0; header-match-ffmpeg-devel.ffmpeg.org-1; header-match-ffmpeg-devel.ffmpeg.org-2; header-match-ffmpeg-devel.ffmpeg.org-3; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list Reply-To: FFmpeg development discussions and patches Subject: [FFmpeg-devel] [PATCH] libavformat/udp: Fix call to recvfrom(2) (PR #20797) List-Id: FFmpeg development discussions and patches Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: desmondliu via ffmpeg-devel Cc: desmondliu Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Archived-At: List-Archive: List-Post: PR #20797 opened by desmondliu URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20797 Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20797.patch Last parameter to recvfrom() is not initialized, causing recvfrom() to randomly return EINVAL. Issue was introduced in af04a27893. >>From 4348bde2d2c58a2409c277f487541be00a5f61f6 Mon Sep 17 00:00:00 2001 From: Desmond Liu Date: Thu, 30 Oct 2025 17:22:12 -0700 Subject: [PATCH] libavformat/udp: Fix call to recvfrom(2) Last parameter to recvfrom() is not initialized, causing recvfrom() to randomly return EINVAL. Issue was introduced in af04a27893. --- libavformat/udp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/udp.c b/libavformat/udp.c index 87a9d5d431..61e80c86c5 100644 --- a/libavformat/udp.c +++ b/libavformat/udp.c @@ -543,6 +543,7 @@ static void *circular_buffer_task_rx( void *_URLContext) } while(1) { UDPQueuedPacketHeader pkt_header; + pkt_header.addr_len = sizeof(pkt_header.addr); pthread_mutex_unlock(&s->mutex); /* Blocking operations are always cancellation points; -- 2.49.1 _______________________________________________ ffmpeg-devel mailing list -- ffmpeg-devel@ffmpeg.org To unsubscribe send an email to ffmpeg-devel-leave@ffmpeg.org