[FFmpeg-devel] [PATCH v2 1/2] avformat/url: check double dot is not to parent directory

Nicolas George george at nsup.org
Mon Jul 27 16:49:56 EEST 2020


Steven Liu (12020-07-27):
> What about use av_malloc? or bprint?
> I think use av_malloc maybe easter to me.

For internal APIs, definitely BPrint over naive av_malloc(). But this is
unrelated to the issue at hand: the size limit exists in the caller of
this function, not in this function.

Regards,

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


More information about the ffmpeg-devel mailing list