diff options
author | Simo Sorce <ssorce@redhat.com> | 2010-06-07 15:07:38 -0400 |
---|---|---|
committer | Simo Sorce <ssorce@redhat.com> | 2010-06-07 17:25:47 -0400 |
commit | f7e2e8370bfa91ad8dbd9de4f69bf1cfe0947573 (patch) | |
tree | bf5334ee530f8db5b266ada39efc9c1140498dd6 /librpc/ndr/libndr.h | |
parent | 711a30aa61bb5f6a9b3970007bad8a70f411fb87 (diff) | |
download | samba-f7e2e8370bfa91ad8dbd9de4f69bf1cfe0947573.tar.gz samba-f7e2e8370bfa91ad8dbd9de4f69bf1cfe0947573.tar.bz2 samba-f7e2e8370bfa91ad8dbd9de4f69bf1cfe0947573.zip |
s3:rpc fix potential out of bound memory access
memcpy copies memory unconditionally, we are passing "" in some cases here.
Use strncpy which will stop reading from src if the null byte is found and
will fill with nulls the destination.
Diffstat (limited to 'librpc/ndr/libndr.h')
0 files changed, 0 insertions, 0 deletions