diff options
author | Jeremy Allison <jra@samba.org> | 2006-03-14 17:21:30 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:15:27 -0500 |
commit | e6676a9a6928deb03c2a43a66c1245dd05d03e71 (patch) | |
tree | 25f31eac683ccd1082cae2dd37dc9d511000fa67 /source3/rpc_parse | |
parent | be738dd31dace66f53558b64d6f67828204650aa (diff) | |
download | samba-e6676a9a6928deb03c2a43a66c1245dd05d03e71.tar.gz samba-e6676a9a6928deb03c2a43a66c1245dd05d03e71.tar.bz2 samba-e6676a9a6928deb03c2a43a66c1245dd05d03e71.zip |
r14387: Try and fix the coverity issues (#53, #54) with negative
sink by ensuring all uses of rpcstr_push are consistent
with a size_t dest size arg.
Jeremy.
(This used to be commit f65d7afe1977d9d85046732842f9643716c15088)
Diffstat (limited to 'source3/rpc_parse')
-rw-r--r-- | source3/rpc_parse/parse_misc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_parse/parse_misc.c b/source3/rpc_parse/parse_misc.c index 8f5ca27365..037764e138 100644 --- a/source3/rpc_parse/parse_misc.c +++ b/source3/rpc_parse/parse_misc.c @@ -597,7 +597,7 @@ void init_rpc_blob_str(RPC_DATA_BLOB *str, const char *buf, int len) /* set up string lengths. */ str->buf_len = create_rpc_blob(str, len*2); - rpcstr_push(str->buffer, buf, str->buf_len, STR_TERMINATE); + rpcstr_push(str->buffer, buf, (size_t)str->buf_len, STR_TERMINATE); } |