Samba is not build with FORTIFY_SOURCE. Have patch need bug.
This bug was referenced in samba master: 333ac047c3fc151222e5ee6aaa75452276b0031e
Created attachment 18932 [details] patch for 4.24 and 4.23
Reassigning for inclusion in 4.24 and 4.23, thanks.