summaryrefslogtreecommitdiffstats
path: root/src/plugins/canbus/peakcan/peakcanbackend.cpp
diff options
context:
space:
mode:
authorAndre Hartmann <aha_1980@gmx.de>2016-08-09 11:47:54 +0200
committerAndré Hartmann <aha_1980@gmx.de>2016-08-26 08:19:35 +0000
commit46c3db77f3289cced28e39aefa03f175b61cdcfc (patch)
tree11f99393bb1fa493f8244d9f4ff5b44e7b5b021a /src/plugins/canbus/peakcan/peakcanbackend.cpp
parent90712efc5b42d31066a388aa370a388c09da6e24 (diff)
SocketCAN: Use qstrncpy instead strcpy
* Copies at most sizeof(ifr_name) bytes * Guarantees that ifr_name is zero-terminated Change-Id: I68966767002dbe5f349ce9f03f34f4657d1827e9 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'src/plugins/canbus/peakcan/peakcanbackend.cpp')
0 files changed, 0 insertions, 0 deletions