summaryrefslogtreecommitdiff
path: root/source4/libcli
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-11-17 12:36:14 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:05:56 -0500
commit696fdc8cf91cc1660725fd93c2b91ec6b65d06b5 (patch)
tree5bcd9e4d35632dfa6c105fa81ec9c7ba12b800ec /source4/libcli
parent91e94014beb145541c051b4df28dde7ad0899da5 (diff)
downloadsamba-696fdc8cf91cc1660725fd93c2b91ec6b65d06b5.tar.gz
samba-696fdc8cf91cc1660725fd93c2b91ec6b65d06b5.tar.bz2
samba-696fdc8cf91cc1660725fd93c2b91ec6b65d06b5.zip
r3806: added support to smb_server and pvfs for the NTTRANS Create call. This
call has an optional sec_desc and ea_list. (This used to be commit 8379ad14e3d51a848a99865d9ce8d56a301e8a3c)
Diffstat (limited to 'source4/libcli')
-rw-r--r--source4/libcli/raw/raweas.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/raw/raweas.c b/source4/libcli/raw/raweas.c
index da079c402b..52c7832a6c 100644
--- a/source4/libcli/raw/raweas.c
+++ b/source4/libcli/raw/raweas.c
@@ -122,7 +122,7 @@ NTSTATUS ea_pull_list(const DATA_BLOB *blob,
*num_eas = 0;
*eas = NULL;
- while (ofs < ea_size) {
+ while (ofs+6 < ea_size) {
uint_t len;
DATA_BLOB blob2;