diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/libsmb/clifile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/clifile.c b/source3/libsmb/clifile.c index 3adc61559d..a25eb4636e 100644 --- a/source3/libsmb/clifile.c +++ b/source3/libsmb/clifile.c @@ -5028,7 +5028,7 @@ static void cli_notify_done(struct tevent_req *subreq) ssize_t ret; char *name; - if ((next != 0) && (len+12 != next)) { + if (trans_oob(num_params, ofs + 12, len)) { TALLOC_FREE(params); tevent_req_nterror( req, NT_STATUS_INVALID_NETWORK_RESPONSE); |