summaryrefslogtreecommitdiffstats
path: root/python/samba/dbchecker.py
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2014-06-17 16:03:22 +1200
committerStefan Metzmacher <metze@samba.org>2014-07-09 08:42:08 +0200
commitd7b4d10aba90f4a1acf01d1d5ab62161862f62f7 (patch)
treef1736d58c520166d476bab49cbd1963594853f7d /python/samba/dbchecker.py
parent1592eaa5c781af83aa64bc4e7211339e1d1eafce (diff)
downloadsamba-d7b4d10aba90f4a1acf01d1d5ab62161862f62f7.tar.gz
samba-d7b4d10aba90f4a1acf01d1d5ab62161862f62f7.tar.xz
samba-d7b4d10aba90f4a1acf01d1d5ab62161862f62f7.zip
dsdb: Always store and return the userParameters as a array of LE 16-bit values
This is not allowed to be odd length, as otherwise we can not send it over the SAMR transport correctly. Allocating one byte less memory than required causes malloc() heap corruption and then a crash or lockup of the SAMR server. Andrew Bartlett Bug: https://bugzilla.samba.org/show_bug.cgi?id=10130 Change-Id: I5c0c531c1d660141e07f884a4789ebe11c1716f6 Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'python/samba/dbchecker.py')
0 files changed, 0 insertions, 0 deletions