[FFmpeg-devel] [PATCH v2] avformat/hls: use av_strlcopy instead of strncpy

Nicolas George george at nsup.org
Mon Oct 30 09:51:09 EET 2023


Leo Izen (12023-10-29):
>			  But it will be nul-terminated in either case, so
> there's no real difference between the old and new code, other than the
> warning.

No real difference = you are not fixing the bug. There should be a
difference: user data should not be silently truncated.

Regards,

-- 
  Nicolas George


More information about the ffmpeg-devel mailing list