diff options
author | Andreas Schneider <asn@samba.org> | 2018-05-15 17:55:22 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2018-05-17 17:30:09 +0200 |
commit | 609ef35c12900bbd5ecaa557f7b5d71b5784a103 (patch) | |
tree | 367993c0e559871d6e54a064758a8c57e55b53ef /lib/audit_logging | |
parent | fb6cd9c44ac6fcc9f6abe3b63fc742aeac42969a (diff) | |
download | samba-609ef35c12900bbd5ecaa557f7b5d71b5784a103.tar.gz |
s4:ntvfs: Fix string copy of share_name
../source4/ntvfs/ipc/rap_server.c:70:3: error: ‘strncpy’ specified bound 13 equals destination size [-Werror=stringop-truncation]
strncpy((char *)r->out.info[j].info1.share_name,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
snames[i],
~~~~~~~~~~
sizeof(r->out.info[0].info1.share_name));
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
Diffstat (limited to 'lib/audit_logging')
0 files changed, 0 insertions, 0 deletions