ldb: push and pull macros for pack format
authorAaron Haslett <aaronhaslett@catalyst.net.nz>
Fri, 17 May 2019 04:34:52 +0000 (16:34 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 22 May 2019 04:42:28 +0000 (04:42 +0000)
commitdf1f883204722a947c52497aaa79d75444a24b63
treeb2fd544e3fafd0d141cbe4a417ac1d60651e2df8
parent474e55523224430781ed22aa2d0c8a474306e794
ldb: push and pull macros for pack format

Replacing push and pull functions (which may cause issues with Undefined
Sanitizer) with Andreas Schneider's excellent macros which are a work in
progress and not yet merged into master. Once his work is upstream, I'll
rebase and change this code to import his headers.

Signed-off-by: Aaron Haslett <aaronhaslett@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
lib/ldb/common/ldb_pack.c