The fix for bug 10880 changed the srv_send_smb() error path such that it returns a value depending on the value of @ret: commit 852c9ac34dbef66d0b2619554c611157c2fab771 Author: Richard Sharpe <realrichardsharpe@gmail.com> Date: Mon Jul 22 16:04:43 2013 -0700 There are tests all over the SMB1 code to check that srv_send_smb fails, but it never returns false. This change was merged to the v4-1 and v4-0 maintenance branches. A subsequent change fixed the srv_send_smb()->srv_encrypt_buffer() error path to ensure that @ret is initialised on error: commit cc983c9a6a92f3d127ec6461b15aed3fa90e6d30 Author: Volker Lendecke <vl@samba.org> Date: Sun Aug 18 20:35:32 2013 +0000 smbd: Fix CID 1063259 Uninitialized scalar variable This change was not merged to the v4-1 and v4-0 maintenance branches, but should be given that the bug 10880 change was merged.
Created attachment 10604 [details] fix for v4-0-test branch
Created attachment 10605 [details] fix for v4-1-test branch The fix went into master prior to the 4.2 branch, so no 4.2 merge is needed.
Thanks Volker! @Karolin, please merge to the 4.1 and 4.0 maintenance branches.
Pushed to autobuild-v4-[0|1]-test.
Pushed to v4-1-test and v4-0-test. Closing out bug report. Thanks!