1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-27 14:04:05 +03:00
Jeremy Allison 5fe76a5474 s3: smbd: Fix a read after free if a chained SMB1 call goes async.
Reported to the Samba Team by Yihan Lian <lianyihan@360.cn>, a security
researcher of Qihoo 360 GearTeam. Thanks a lot!

smb1_parse_chain() incorrectly used talloc_tos() for the memory
context of the chained smb1 requests. This gets freed between
requests so if a chained request goes async, the saved request
array also is freed, which causes a crash on resume.

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2017-07-15 02:16:18 +02:00
..
2017-01-22 18:30:11 +01:00
2017-01-22 18:30:11 +01:00
2017-01-22 18:30:11 +01:00
2016-07-20 05:21:07 +02:00
2017-01-22 18:30:11 +01:00
2017-01-22 18:30:11 +01:00
2017-01-22 18:30:11 +01:00
2017-01-22 18:30:11 +01:00