s3:passdb: s/BURN_PTR_SIZE/BURN_STR/ in samu_destroy()
commit12478c24b0b994adc909c06e85d7c6c5330f9db2
authorPavel Filipenský <pfilipensky@samba.org>
Mon, 8 Aug 2022 15:49:11 +0000 (8 17:49 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Fri, 26 Aug 2022 07:59:32 +0000 (26 07:59 +0000)
treeb14dcbf329efc18a9df3dde6b5c27f4e1ccfc9bf
parentccae2a4ab5478acea7c37134d486c3562ff5c3dc
s3:passdb: s/BURN_PTR_SIZE/BURN_STR/ in samu_destroy()

This makes sure that strlen(user->plaintext_pw) is not called twice.

Signed-off-by: Pavel Filipenský <pfilipensky@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source3/passdb/passdb.c