aboutsummaryrefslogtreecommitdiff
path: root/lib/nwlib.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2014-12-21 23:21:16 +0100
committerDaniel Stenberg <daniel@haxx.se>2014-12-21 23:21:16 +0100
commit2c5f346d3a18b829f2c9ce8dbb98470e41017ca3 (patch)
treeb0004308f6dce1315e465f2b692dcec6e32262b9 /lib/nwlib.c
parentf9cf3de70b3a494f627eda6cccf6607616eaf449 (diff)
smb: use memcpy() instead of strncpy()
... as it never copies the trailing zero anyway and always just the four bytes so let's not mislead anyone into thinking it is actually treated as a string. Coverity CID: 1260214
Diffstat (limited to 'lib/nwlib.c')
0 files changed, 0 insertions, 0 deletions