diff options
-rw-r--r-- | source3/smbd/trans2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c index 76bb7fd4cc..a16dcc3e19 100644 --- a/source3/smbd/trans2.c +++ b/source3/smbd/trans2.c @@ -920,7 +920,7 @@ static int call_trans2findnext(connection_struct *conn, *mask = *directory = *resume_name = 0; - pstrcpy( resume_name, params+12); + srvstr_pull(inbuf, resume_name, params+12, sizeof(resume_name), -1, STR_TERMINATE|STR_CONVERT); DEBUG(3,("call_trans2findnext: dirhandle = %d, max_data_bytes = %d, maxentries = %d, \ close_after_request=%d, close_if_end = %d requires_resume_key = %d \ |