Created attachment 10984 [details]
patch that fixes the issue described
When a dcerpc context is altered and an unknown endpoint uuid is asked, it leads to a crash in Samba.
When an endpoint is not registered or unknown, the dcesrv_alter function does not return directly but instead set the result and reason. Further calls were not honoring the check on result leading to the crash.
The patch attached to this ticket fixes the problem.
This commits responsible for introducing this crash are:
Created attachment 10986 [details]
git-am fix for master.
Julian, I like this much better. Can you test and let me know if it also fixes your problem ?
I need review flags as soon as possible to get this one in 4.1.18! Thanks!
Created attachment 10993 [details]
git-am cherry-pick from master for 4.2.next.
Created attachment 10994 [details]
git-am cherry-pick from master for 4.1.next.
Andreas (or anyone else), could you please grant review?
Otherwise, I need to delay the release again.
Pushed to autobuild-v4-[1|2]-test.
Fixed in Samba 4.1 with c8509227db612c9fa4c2b01d9c6f539357752ac2 from master commit 49030649db3dfec5a9bc03e5dde4255a14499f16.