diff options
author | Günther Deschner <gd@samba.org> | 2005-09-11 20:53:21 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:03:35 -0500 |
commit | daa61ef75b4f7cf510b17cd0b85f5830c73b9279 (patch) | |
tree | 3e37a44cfc5d2764b28a704069d3990298f882c4 /source/printing | |
parent | 5232034b0daca8486fd55e53c2d910e4fbf0299d (diff) | |
download | samba-daa61ef75b4f7cf510b17cd0b85f5830c73b9279.tar.gz samba-daa61ef75b4f7cf510b17cd0b85f5830c73b9279.tar.xz samba-daa61ef75b4f7cf510b17cd0b85f5830c73b9279.zip |
r10154: Fix crash bug on security descriptor upgrade (as seen on x86_64).
Guenther
Diffstat (limited to 'source/printing')
-rw-r--r-- | source/printing/nt_printing.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/printing/nt_printing.c b/source/printing/nt_printing.c index 3b659f4c75b..f8d9220c05d 100644 --- a/source/printing/nt_printing.c +++ b/source/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) |