s3: Fix Coverity ID 986, BUFFER_SIZE_WARNING
commitd63beb2850afe0553876fa441aeba3b2c9f11f1f
authorVolker Lendecke <vl@samba.org>
Fri, 22 Apr 2011 07:34:35 +0000 (22 09:34 +0200)
committerKarolin Seeger <kseeger@samba.org>
Tue, 26 Apr 2011 18:09:29 +0000 (26 20:09 +0200)
tree2bd459702039d24570464389a487d0b739aa4d11
parentdceb06abb4a52662f87c9b41882b34aa8575873f
s3: Fix Coverity ID 986, BUFFER_SIZE_WARNING

strncpy can leave the destination unterminated
(cherry picked from commit 9a0676d5c947033ac41f700be9ba92ab1666814e)
(cherry picked from commit e3c271560adfab50568e06c7bfaba02cb5aae997)
source3/rpc_client/cli_pipe.c