diff options
-rw-r--r-- | source3/smbd/ipc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/ipc.c b/source3/smbd/ipc.c index 9bdd02b059..bc828d2e8e 100644 --- a/source3/smbd/ipc.c +++ b/source3/smbd/ipc.c @@ -405,7 +405,7 @@ int reply_trans(connection_struct *conn, char *inbuf,char *outbuf, int size, int if ((psoff+pscnt < psoff) || (psoff+pscnt < pscnt)) goto bad_param; if ((smb_base(inbuf)+psoff+pscnt > inbuf + size) || - (smb_base(inbuf)+psoff+pscnt < smb_base(inbuf))); + (smb_base(inbuf)+psoff+pscnt < smb_base(inbuf))) goto bad_param; memcpy(params,smb_base(inbuf)+psoff,pscnt); |