Found by Volker, null pointer dereference.
Created attachment 13016 [details] git-am fix for 4.6.next Cherry-picked from master.
Created attachment 13017 [details] git-am fix for 4.5.next, 4.4.next. Back-ported from previous fix. Minus test code as the smb1 infrastructure used for the negprot tests doesn't exist in 4.5.x or before.
Reassigning to Karolin for inclusion in 4.4, 4.5 and 4.6.
(In reply to Ralph Böhme from comment #3) Pushed to autobuild-v4-{6,5,4}-test.
(In reply to Karolin Seeger from comment #4) Pushed to all branches. Closing out bug report. Thanks!