advapi32: Fix ComputeStringSidSize to work with SIDs with one sub authority.
commitf56fe2c1bc9627ea4f47c2000ea7526b1b503f3c
authorRob Shearman <rob@codeweavers.com>
Wed, 18 Jul 2007 17:06:36 +0000 (18 18:06 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 19 Jul 2007 09:54:40 +0000 (19 11:54 +0200)
tree731c937a30d05c3fc71691b0a9f088c2803b842b
parent3f2d93b51260fde45ca5e252044ab066d4acaead
advapi32: Fix ComputeStringSidSize to work with SIDs with one sub authority.

Use GetSidLengthRequired instead of computing the length in a way that
won't always be correct.
dlls/advapi32/security.c