VFS: default: avoid a crash in vfswrap_getxattrat_do_sync()
commitcfaca1c0b7a7f7d7e0b688b21846a9a9d1968cd8
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 10:29:09 +0000 (18 10:29 +0000)
tree1288711f5b77d4313606b2e150f967509b8cfa25
parent69e66865203ac1b6dc7fe2eb109f0ee7b5745fc9
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