1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/source4/dsdb
Volker Lendecke d2a08f5d67 samdb: Fix an uninitialized variable read
When the "(status == LDB_SUCCESS && msg != NULL)" condition in this
routine is not evaluating to true, "new_rid" is read uninitialized,
comparing it against ~0. Initialize new_rid and compare it against
UINT32_MAX instead of ~0.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2021-08-06 17:22:30 +00:00
..
common Fix gcc11 compiler issue "-Werror=maybe-uninitialized" 2021-05-07 06:23:32 +00:00
dns s4: rename source4/smbd/ to source4/samba/ 2020-11-27 10:07:18 +00:00
kcc dsdb periodic: DNS: split aging from tombstone deletion 2021-06-20 23:26:32 +00:00
repl s4: rename source4/smbd/ to source4/samba/ 2020-11-27 10:07:18 +00:00
samdb samdb: Fix an uninitialized variable read 2021-08-06 17:22:30 +00:00
schema lib/util: remove extra safe_string.h file 2020-08-28 02:18:40 +00:00
tests/python python: remove all 'from __future__ import print_function' 2021-04-28 03:43:34 +00:00
pydsdb.c py bindings: write 'bytes', not 'PY_DESC_PY3_BYTES' 2021-03-17 17:10:32 +00:00
samdb.pc.in s4-pkgconfig: add @LIB_RPATH@ to our link flags 2010-12-08 12:46:00 +01:00
wscript_build samba-tool: Enable pydsdb without ad dc 2021-03-10 21:43:34 +00:00