1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-12 20:58:37 +03:00

r6082: Fix for bugid #2541. Fixes from Guenter Kukkukk <guenter.kukkukk@kukkukk.com>

Jeremy.
(This used to be commit 057e4bf641674473f1ac1e0fbe936b4f2506e013)
This commit is contained in:
Jeremy Allison 2005-03-27 20:44:06 +00:00 committed by Gerald (Jerry) Carter
parent e84ead0cfd
commit 780b1eedab

View File

@ -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;
}