]> git.ipfire.org Git - thirdparty/samba.git/commit
lib/util: split out a dump_data_block16() helper
authorStefan Metzmacher <metze@samba.org>
Wed, 3 Nov 2021 10:05:52 +0000 (11:05 +0100)
committerJule Anger <janger@samba.org>
Sun, 30 Jan 2022 10:57:11 +0000 (10:57 +0000)
commit8097c9b388531483e47defb0d5ebe31fb4cecc51
tree31ca4b2fd45de66869425fabd83a5960a50faeb3
parentc4132ef482bc2a3a20742cfdc5b524bedc8c445b
lib/util: split out a dump_data_block16() helper

This simplifies the logic a lot for me.

It also fixes some corner cases regarding whitespaces in the
output, that's why we have to mark a few tests as knownfail,
they will be fixed in the next commit.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14956

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit 58b09e107cadd7fb8191822d4e7e42657b1ed4c7)
lib/util/util.c
selftest/knownfail.d/blackbox.ndrdump [new file with mode: 0644]