The Samba-Bugzilla – Bug 13368
messaging_init_internal() uses sec_initial_uid() before calling sec_init() to set it up.
Last modified: 2018-04-12 06:53:31 UTC
This causes access to an incorrectly set (but not uninitialized, it's a static so starts are zero - which is why valgrind doesn't catch it) variable when run as non-root.
Problem was introduced in ad8c7171ba86e8a47d78b0c7329bb814e5a8871e (which was reviewed by me, so I feel responsible).
Patch from Lutz Justen <firstname.lastname@example.org> to follow.
Created attachment 14103 [details]
git-am fix for 4.8.next.
Cherry-picked from master.
Created attachment 14104 [details]
git-am fix for 4.7.next.
Back-ported from master.
Karolin, please add the patches to the relevant branches. Thanks!
(In reply to Andreas Schneider from comment #3)
Pushed to autobuild-v4-[7,8]-test.
(In reply to Karolin Seeger from comment #4)
Pushed to both branches.
Closing out bug report.