[FFmpeg-devel] [PATCH] avfilter/image2: Add source file path and basename to each packet side data.

Marton Balint cus at passwd.hu
Mon Dec 23 11:44:01 EET 2019



On Mon, 23 Dec 2019, alexandre.schmidt at gmail.com wrote:

>>> not sure why i just now realize it but
>>
>> Storing the source path is problematic privacy and security wise
>>
>> Thanks
>>
>
> What does this means? That it won't be applied?

It only means that you may have to only activate this (or at least the 
full path metadata) feature if the user explicitly requests it. Probably 
the best way to do that is to introduce a new option of the image2 
demuxer, probably with an AV_OPT_TYPE_FLAGS type.

>
> Can you give an example on why this would be a security issue, considering
> you already have it anywhere, only not available to filters until now?
>
> Besides, isn't metadata way more sensitive than a simple file path?

The problem is possible leaking of information about the system which 
processed the file, because it is typically not disclosed in an output 
file where the system stores media files it processes.

Regards,
Marton


More information about the ffmpeg-devel mailing list