Bug 13143 - samba-4.7.2/source4/torture/raw/samba3misc.c:951: strange expression ?
Summary: samba-4.7.2/source4/torture/raw/samba3misc.c:951: strange expression ?
Status: NEW
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Other (show other bugs)
Version: 4.7.2
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Andrew Bartlett
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-15 14:18 UTC by David Binderman
Modified: 2017-11-15 14:18 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 David Binderman 2017-11-15 14:18:17 UTC
[samba-4.7.2/source4/torture/raw/samba3misc.c:951]: (style) Same expression on both sides of '|'.

Source code is

    io.ntcreatex.in.share_access =
        NTCREATEX_SHARE_ACCESS_READ
        | NTCREATEX_SHARE_ACCESS_READ;

Suggest either add WRITE access or remove one of the READs.