Bug 14311 - samba-4.12.0/source4/torture/rpc/spoolss.c:2127:invalidLifetime
Summary: samba-4.12.0/source4/torture/rpc/spoolss.c:2127:invalidLifetime
Status: NEW
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Test infrastructure (show other bugs)
Version: 4.12.0
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Samba QA Contact
QA Contact: Samba QA Contact
Depends on:
Reported: 2020-03-04 14:35 UTC by David Binderman
Modified: 2020-03-04 14:35 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description David Binderman 2020-03-04 14:35:35 UTC
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;