diff options
author | Andrew Bartlett <abartlet@samba.org> | 2015-07-27 10:57:43 +1200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2015-08-24 23:46:22 +0200 |
commit | 5206ccd002b015a16952d21bd2fa441ff2e39eab (patch) | |
tree | 63ad95023e305a9ee4fee464662e886fa3017918 /selftest/tests.py | |
parent | 3faa7dc5a7d39cfdfc908a51e38772fda801c1a3 (diff) | |
download | samba-5206ccd002b015a16952d21bd2fa441ff2e39eab.tar.gz |
pidl: Change PIDL to correctly use and validate python integer types
In particular, it is critical that we use unsigned integers of
sufficient size in python for unsigned C integers, and it is
critical that we check for overflow at both the python and C
level.
Otherwise, we may both represent and sort these incorrectly,
in particular when sorting attributeID values from DRSUAPI
which are represented as an signed enum in C and a uint32_t in IDL,
but which often has the high bit set (in schema extensions).
BUG: https://bugzilla.samba.org/show_bug.cgi?id=11429
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'selftest/tests.py')
0 files changed, 0 insertions, 0 deletions