1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-15 23:24:37 +03:00

rpcstr_pull() src_len fix.

This commit is contained in:
Tim Potter -
parent f32e3f2087
commit 7da054d814

View File

@ -26,7 +26,7 @@
static void fstr_pull(fstring str, UNISTR *uni) static void fstr_pull(fstring str, UNISTR *uni)
{ {
rpcstr_pull(str, uni->buffer, sizeof(fstring), 0, STR_TERMINATE); rpcstr_pull(str, uni->buffer, sizeof(fstring), -1, STR_TERMINATE);
} }
/* Convert a structure to a Python dict */ /* Convert a structure to a Python dict */