Skip to content
Snippets Groups Projects
Commit 6c2dbff7 authored by Ganesh Ajjanagadde's avatar Ganesh Ajjanagadde
Browse files

ffserver: fix incorrect strlcpy usage


Somewhat ironic that this "safe" interface is actually being used
unsafely here. This fixes the usage preventing potential null pointer
dereference, where the old code was doubly broken: ctime can return
NULL, and ctime can return an arbitrarily long buffer.

Reviewed-by: default avatarMark Harris <mark.hsj@gmail.com>
Reviewed-by: default avatarMichael Niedermayer <michael@niedermayer.cc>
Signed-off-by: default avatarGanesh Ajjanagadde <gajjanagadde@gmail.com>
parent cf491a92
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment