The branch, master has been updated via 5f92ec6988d s4:torture: Pass buffer correctly to write() from d619a57804d s3: update Russian translation of pam_winbind
https://git.samba.org/?p=samba.git;a=shortlog;h=master - Log ----------------------------------------------------------------- commit 5f92ec6988d2f4c20eab9449cbe17317588f6634 Author: Andreas Schneider <a...@samba.org> Date: Wed Oct 28 15:05:34 2020 +0100 s4:torture: Pass buffer correctly to write() ../../source4/torture/basic/denytest.c: In function ‘torture_createx_specific.isra’: ../../source4/torture/basic/denytest.c:2372:9: error: ‘write’ reading 56 bytes from a region of size 8 [-Werror=stringop-overflow=] 2372 | res = write(data_file_fd, &cxd, cxd_len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUG: https://bugzilla.samba.org/show_bug.cgi?id=14555 Signed-off-by: Andreas Schneider <a...@samba.org> Reviewed-by: Alexander Bokovoy <a...@samba.org> Reviewed-by: Jeremy Allison <j...@samba.org> Autobuild-User(master): Jeremy Allison <j...@samba.org> Autobuild-Date(master): Wed Oct 28 17:52:19 UTC 2020 on sn-devel-184 ----------------------------------------------------------------------- Summary of changes: source4/torture/basic/denytest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Changeset truncated at 500 lines: diff --git a/source4/torture/basic/denytest.c b/source4/torture/basic/denytest.c index 1c946b81b92..8e7a822df09 100644 --- a/source4/torture/basic/denytest.c +++ b/source4/torture/basic/denytest.c @@ -2369,7 +2369,7 @@ static bool torture_createx_specific(struct torture_context *tctx, struct if (data_file_fd >= 0) { size_t cxd_len = sizeof(struct createx_data); found = true; - res = write(data_file_fd, &cxd, cxd_len); + res = write(data_file_fd, cxd, cxd_len); if (res != cxd_len) { torture_result(tctx, TORTURE_FAIL, "(%s): write failed: %s!", -- Samba Shared Repository