summaryrefslogtreecommitdiffstats
path: root/source/rpc_parse/parse_srv.c
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1998-10-27 15:03:47 +0000
committerLuke Leighton <lkcl@samba.org>1998-10-27 15:03:47 +0000
commit161eb6f511e161b63c1fa90a08c562fcf208344a (patch)
tree7c1bd44da142e1b01538a32ad5d4dbc25f9cf398 /source/rpc_parse/parse_srv.c
parent7ad30c43ba3108631ac1fb98a96a0d5d66fca36c (diff)
downloadsamba-161eb6f511e161b63c1fa90a08c562fcf208344a.tar.gz
samba-161eb6f511e161b63c1fa90a08c562fcf208344a.tar.xz
samba-161eb6f511e161b63c1fa90a08c562fcf208344a.zip
amazing. the improvements to NT continue, evidence for which shows up
now as "RPC fault" if the UNIHDR structure lengths do not exactly match up to the length of the data stream. so, all versions of samba prior to this one have an off-by-one bug in unicode string lengths. all versions of NT prior to NT 5 beta 2 could possibly have buffer problems when receiving badly formatted UNICODE strings.
Diffstat (limited to 'source/rpc_parse/parse_srv.c')
-rw-r--r--source/rpc_parse/parse_srv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/rpc_parse/parse_srv.c b/source/rpc_parse/parse_srv.c
index 27b1ec2257f..adc4249072e 100644
--- a/source/rpc_parse/parse_srv.c
+++ b/source/rpc_parse/parse_srv.c
@@ -1377,6 +1377,7 @@ static void srv_io_info_ctr(char *desc, SRV_INFO_CTR *ctr, prs_struct *ps, int
break;
}
}
+ prs_align(ps);
}
}