1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-15 05:57:49 +03:00
Jeremy Allison 3ddc9344c2 CVE-2022-32742: s3: smbd: Harden the smbreq_bufrem() macro.
Fixes the raw.write.bad-write test.

NB. We need the two (==0) changes in source3/smbd/smb2_reply.c
as the gcc optimizer now knows that the return from
smbreq_bufrem() can never be less than zero.

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

Remove knownfail.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: David Disseldorp <ddiss@samba.org>

Autobuild-User(master): Jule Anger <janger@samba.org>
Autobuild-Date(master): Wed Jul 27 11:46:46 UTC 2022 on sn-devel-184
2022-07-27 11:46:46 +00:00
..
2020-01-06 01:47:30 +00:00
2017-04-07 22:52:24 +02:00
2020-10-02 21:30:33 +00:00
2020-10-24 05:57:31 +00:00
2021-03-16 17:09:31 +00:00
2020-03-20 17:11:28 +00:00
2019-02-28 13:53:40 +00:00
2022-04-28 13:12:33 +00:00
2017-12-05 04:58:26 +01:00
2020-08-17 19:35:38 +00:00
2022-03-10 18:23:35 +00:00
2017-03-16 20:30:19 +01:00
2022-06-06 16:46:35 +00:00
2022-06-06 19:22:28 +00:00