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

Michael Niedermayer michael at niedermayer.cc
Tue Jul 9 16:18:02 EEST 2024


On Tue, Jul 09, 2024 at 03:12:52PM +0200, Michael Niedermayer wrote:
> 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

marked the 2 as false positives


> > 
> > 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!

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I am the wisest man alive, for I know one thing, and that is that I know
nothing. -- Socrates
-------------- 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/2012fe16/attachment.sig>


More information about the ffmpeg-devel mailing list