1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/source4/rpc_server/samr
Andrew Bartlett d7b4d10aba 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>
2014-07-09 08:42:08 +02:00
..
dcesrv_samr.c dsdb: Always store and return the userParameters as a array of LE 16-bit values 2014-07-09 08:42:08 +02:00
dcesrv_samr.h s4:samr RPC server - fix trailing whitespaces 2010-10-29 09:55:18 +00:00
samr_password.c s4-samr: Escape the username in the LDAP filter 2014-04-02 17:12:47 +02:00