[FFmpeg-trac] #3249(FFmpeg:open): File names containing colon results in automatic file overwrite

FFmpeg trac at avcodec.org
Thu Jan 2 01:56:36 CET 2014


#3249: File names containing colon results in automatic file overwrite
------------------------------------+----------------------------------
             Reporter:  jnvsor      |                    Owner:
                 Type:  defect      |                   Status:  open
             Priority:  minor       |                Component:  FFmpeg
              Version:  git-master  |               Resolution:
             Keywords:              |               Blocked By:
             Blocking:              |  Reproduced by developer:  1
Analyzed by developer:  1           |
------------------------------------+----------------------------------

Comment (by beastd):

 I attached a hackish [attachment:beastd-file-overwrite-hackish-partial-
 fix.diff patch] that fixes the problem for `file:` output files. '''But it
 still has problems for `file:` specifications that refer to relative file
 names without using `./` or `../`'''.

 '''I assume it could even do very wrong things''' depending on the exact
 file name provided. So do not use it if you cannot guarantee that you file
 names are always absolute or relative names start with `./` or `../`.

 I am still searching for a way to fix this properly for all cases
 including the ones that do not specify `file:` names.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/3249#comment:4>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list