Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e73f9f68 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab
Browse files

media: dvb_vb2: use strlcpy instead of strncpy



Instead of using strncpy(), use strlcpy(), in order to
ensure that a \0 char will be added at the end of the
string.

Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent eb0f73ba
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment