VFS: default: avoid a crash in vfswrap_getxattrat_do_sync()
commit15f60af436c4ad312fd580b8f4503042efb49ec3
authorRalph Boehme <slow@samba.org>
Mon, 24 Feb 2020 13:29:01 +0000 (24 14:29 +0100)
committerKarolin Seeger <kseeger@samba.org>
Wed, 18 Mar 2020 12:27:31 +0000 (18 12:27 +0000)
tree5bf8c215f73312aeef8e27e5d55f6cdc111ed419
parent56d86e3d55afbe1caa0ffa894c1b5aa828eadd55
VFS: default: avoid a crash in vfswrap_getxattrat_do_sync()

Must use tevent_req_data() to get our tevent_req state, talloc_get_type_abort()
will just crash as struct tevent_req != struct vfswrap_getxattrat_state.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit cbca811212a930b94f9917e5a82b6a95ab085e91)
source3/modules/vfs_default.c