aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorJoey Pabalinas <[email protected]>2018-03-01 04:17:07 -1000
committerTakashi Iwai <[email protected]>2018-03-01 16:13:13 +0100
commit338e17d3f58e9868a12af7deb1edcfb40bd588b2 (patch)
tree2a0ec4763de4fc80103c49c0ed7c8aa80e7e0f37 /lib/test_overflow.c
parentdd5f313be0d4d7a46f0e82c42aed4fbc784699ea (diff)
ALSA: ice1712: replace strcpy() with strlcpy()
Replace unsafe usages of strcpy() to copy the name argument into the sid.name buffer with strlcpy() to guard against possible buffer overflows. Signed-off-by: Joey Pabalinas <[email protected]> Suggested-by: Andy Shevchenko <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions