samba-4.12.0/source4/torture/rpc/spoolss.c:2127:37: error: Using object that points to local variable 'info8' that is out of scope. [invalidLifetime] Source code is case 8: { struct spoolss_SetPrinterInfo8 info8; info8.devmode_ptr = 0; info_ctr.level = 8; info_ctr.info.info8 = &info8; break; }
This was fixed in Samba 4.18 with commit 0dc5f807690baae002f5c35c920663cc6c3617e0.