fixed RAW-READ after the bufinfo changes. Thanks to Metze for spotting
authorAndrew Tridgell <tridge@samba.org>
Sat, 16 Feb 2008 02:28:37 +0000 (13:28 +1100)
committerAndrew Tridgell <tridge@samba.org>
Sat, 16 Feb 2008 02:28:37 +0000 (13:28 +1100)
this.
(This used to be commit 3c9973b695a0b5c30d3a5bfabecf62dd1a25ebc1)

source4/libcli/raw/rawreadwrite.c

index 2005e36e040104f4727d4dd90058b15e911e2d73..9e4edaf99c9c49fabad2f9ae1abf043f97f2351b 100644 (file)
@@ -171,6 +171,9 @@ NTSTATUS smb_raw_read_recv(struct smbcli_request *req, union smb_read *parms)
                            parms->readx.out.nread <= 
                            req->in.buffer + req->in.size) {
                                req->in.data_size += (SVAL(req->in.vwv, VWV(7)) << 16);
+
+                               /* update the bufinfo with the new size */
+                               smb_setup_bufinfo(req);
                        }
                }