mirror of
https://github.com/samba-team/samba.git
synced 2025-03-12 20:58:37 +03:00
claims.idl: Use ‘int64’ instead of ‘dlong’ for INT64 claims
This field is supposed to be aligned to eight bytes, but the ‘dlong’ type is aligned to only four bytes. This discrepancy resulted in claims being encoded and decoded incorrectly. BUG: https://bugzilla.samba.org/show_bug.cgi?id=15452 Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> (cherry picked from commit aa1815519ce1412cdf25927b54b5178113cdd2a7)
This commit is contained in:
parent
d5e0f9af62
commit
313c9a7598
@ -50,7 +50,7 @@ interface claims
|
||||
|
||||
typedef struct {
|
||||
[range(1, 10*1024*1024)] uint32 value_count;
|
||||
[size_is(value_count)] dlong *values;
|
||||
[size_is(value_count)] int64 *values;
|
||||
} CLAIM_INT64;
|
||||
|
||||
typedef struct {
|
||||
|
@ -1 +0,0 @@
|
||||
^samba\.tests\.krb5\.claims_in_pac\.samba\.tests\.krb5\.claims_in_pac\.PacClaimsTests\.test_pac_int64_claims\(none\)$
|
Loading…
x
Reference in New Issue
Block a user