Bug 12625 - ndr_netlogon.c
Summary: ndr_netlogon.c
Status: RESOLVED FIXED
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Build (show other bugs)
Version: 4.8.0
Hardware: x64 Mac OS X
: P5 normal (vote)
Target Milestone: ---
Assignee: Samba QA Contact
QA Contact: Samba QA Contact
URL:
Keywords:
: 12651 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-03-10 10:18 UTC by Ruga
Modified: 2018-04-25 10:14 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ruga 2017-03-10 10:18:48 UTC
[1141/3257] Compiling librpc/ndr/ndr_netlogon.c
../librpc/ndr/ndr_netlogon.c:29:8: warning: comparison of constant 255 with expression of type 'enum netr_SamDatabaseID' is always false [-Wtautological-constant-out-of-range-compare]
        if (r > 0xff) return NDR_ERR_BUFSIZE;
            ~ ^ ~~~~
../librpc/ndr/ndr_netlogon.c:49:8: warning: comparison of constant 255 with expression of type 'enum netr_DeltaEnum' is always false [-Wtautological-constant-out-of-range-compare]
        if (r > 0xff) return NDR_ERR_BUFSIZE;
            ~ ^ ~~~~
Comment 1 Andrew Bartlett 2017-06-29 07:09:53 UTC
*** Bug 12651 has been marked as a duplicate of this bug. ***