diff options
author | Jeremy Allison <jra@samba.org> | 2005-03-27 20:44:06 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:56:21 -0500 |
commit | 780b1eedab36369ef835e45b966f73ede4c7fd12 (patch) | |
tree | 6118280f2976dc527bd5e889952d8eb5675fa52f /source3/smbd | |
parent | e84ead0cfdc5e45a577387cc54dceb4c3f32948a (diff) | |
download | samba-780b1eedab36369ef835e45b966f73ede4c7fd12.tar.gz samba-780b1eedab36369ef835e45b966f73ede4c7fd12.tar.bz2 samba-780b1eedab36369ef835e45b966f73ede4c7fd12.zip |
r6082: Fix for bugid #2541. Fixes from Guenter Kukkukk <guenter.kukkukk@kukkukk.com>
Jeremy.
(This used to be commit 057e4bf641674473f1ac1e0fbe936b4f2506e013)
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/trans2.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c index 77f879b53d..ad125788a1 100644 --- a/source3/smbd/trans2.c +++ b/source3/smbd/trans2.c @@ -2872,6 +2872,7 @@ total_data=%u (should be %u)\n", (unsigned int)total_data, (unsigned int)IVAL(pd if (!ea_list || (total_ea_len > data_size)) { talloc_destroy(ea_ctx); data_size = 4; + SIVAL(pdata,0,4); /* EA List Length must be set to 4 if no EA's. */ break; } @@ -2896,6 +2897,7 @@ total_data=%u (should be %u)\n", (unsigned int)total_data, (unsigned int)IVAL(pd if (!ea_list || (total_ea_len > data_size)) { talloc_destroy(ea_ctx); data_size = 4; + SIVAL(pdata,0,4); /* EA List Length must be set to 4 if no EA's. */ break; } |