1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-04 16:58:42 +03:00

r10154: Fix crash bug on security descriptor upgrade (as seen on x86_64).

Guenther
This commit is contained in:
Günther Deschner 2005-09-11 20:53:21 +00:00 committed by Gerald (Jerry) Carter
parent 5232034b0d
commit daa61ef75b

@ -342,7 +342,8 @@ static int sec_desc_upg_fn( TDB_CONTEXT *the_tdb, TDB_DATA key,
SEC_DESC *sec, *new_sec;
TALLOC_CTX *ctx = state;
int result, i;
uint32 sd_size, size_new_sec;
uint32 sd_size;
size_t size_new_sec;
DOM_SID sid;
if (!data.dptr || data.dsize == 0)