commit | e73f9f68799400b6cb4087115e279d290437990f | [log] [tgz] |
---|---|---|
author | Mauro Carvalho Chehab <mchehab@s-opensource.com> | Fri Dec 29 07:53:30 2017 -0500 |
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | Fri Dec 29 07:53:30 2017 -0500 |
tree | 1e2949d0eae2c58dc561de6743970ded9797bc97 | |
parent | eb0f73ba12305842153758fdee2a75776724a528 [diff] |
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: Mauro Carvalho Chehab <mchehab@s-opensource.com>