From b4857a4c2a06c6ef4bd8b15f7da3525ecc9ff998 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Sun, 11 Sep 2005 20:53:21 +0000 Subject: r10154: Fix crash bug on security descriptor upgrade (as seen on x86_64). Guenther (This used to be commit daa61ef75b4f7cf510b17cd0b85f5830c73b9279) --- source3/printing/nt_printing.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source3') diff --git a/source3/printing/nt_printing.c b/source3/printing/nt_printing.c index 3b659f4c75..f8d9220c05 100644 --- a/source3/printing/nt_printing.c +++ b/source3/printing/nt_printing.c @@ -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) -- cgit