[FFmpeg-cvslog] Move av_tempfile() into libavutil, it is a generically usefull thing and its small.

Michael Niedermayer michaelni at gmx.at
Sun Oct 16 21:35:26 CEST 2011


On Sun, Oct 16, 2011 at 09:22:11PM +0200, Reimar Döffinger wrote:
> On Sun, Oct 16, 2011 at 05:21:22PM +0200, Michael Niedermayer wrote:
> > -    fd = open(*filename, O_RDWR | O_BINARY | O_CREAT, 0444);
> 
> Adding O_EXCL should increase security here.
> Seems supported at least on Linux and Windows.
> Might fail compilation on some systems though.

fixed locally

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

It is what and why we do it that matters, not just one of them.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-cvslog/attachments/20111016/11ba38e6/attachment.asc>


More information about the ffmpeg-cvslog mailing list