[FFmpeg-devel] [PATCH 8/9] avformat/udp: Fix temporary buffer race

Michael Niedermayer michael at niedermayer.cc
Tue Jul 9 16:12:52 EEST 2024


On Mon, Jul 08, 2024 at 07:46:19PM +0200, Marton Balint wrote:
> 
> 
> On Sun, 9 Jun 2024, Michael Niedermayer wrote:
> 
> > Fixes: CID1551679 Data race condition
> > Fixes: CID1551687 Data race condition
> 
> How is this a data race? Concurrent reading and writing is not supported for
> UDP as far as I know.

maybe coverity tricked me together with memory of a long standing
unreproduceable data corruption bug in udp ... thinking there where
2 threads using the same temporary buffer (which would really fit
the bug i remembered)

feel free to revert!

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Elect your leaders based on what they did after the last election, not
based on what they say before an election.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20240709/d25a81fa/attachment.sig>


More information about the ffmpeg-devel mailing list