1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-30 20:23:49 +03:00

Looks like AS/U doesn't set the FIRST flag in a BIND packet.

Jeremy.
This commit is contained in:
Jeremy Allison
-
parent 46b12f2275
commit a8df5e04b5

View File

@@ -327,7 +327,11 @@ static ssize_t unmarshall_rpc_header(pipes_struct *p)
if(prs_offset(&p->in_data.data) == 0) {
if (!(p->hdr.flags & RPC_FLG_FIRST)) {
/*
* AS/U doesn't set FIRST flag in a BIND packet it seems.
*/
if ((p->hdr.pkt_type == RPC_REQUEST) && !(p->hdr.flags & RPC_FLG_FIRST)) {
/*
* Ensure that the FIRST flag is set. If not then we have
* a stream missmatch.