I saw _data_blob_info being overwritten in NDR_SPOOLSS_PUSH_ENUM_OUT before ndr_push__##fn if (r->in.buffer) {\ DATA_BLOB _data_blob_info; \ ... _data_blob_info = ndr_push_blob(_ndr_info);\ _r.out.info = &_data_blob_info;\ }\ NDR_CHECK(ndr_push__##fn(ndr, flags, &_r));\
See https://gitlab.com/samba-team/samba/merge_requests/267
got positive feedback that this fixes spoolss on a FreeBSD built with clang.
Created attachment 14943 [details] Patch for v4-10-test
Created attachment 14944 [details] Patch for v4-9-test
Created attachment 14945 [details] Patch for v4-8-test
Comment on attachment 14943 [details] Patch for v4-10-test LGTM
Comment on attachment 14944 [details] Patch for v4-9-test LGTM
Comment on attachment 14945 [details] Patch for v4-8-test LGTM
Pushed to autobuild-v4-{10,9,8}-test.
(In reply to Karolin Seeger from comment #9) Pushed to all branches. Closing out bug report. Thanks!