Open Bug 1393076 Opened 8 years ago Updated 3 years ago

firefox-55.0.2/security/nss/cmd/libpkix/pkix/top/test_policychecker.c:78: bad conditional ?

Categories

(NSS :: Libraries, defect, P3)

Tracking

(Not tracked)

People

(Reporter: dcb314, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0 Build ID: 20170613080647 Steps to reproduce: firefox-55.0.2/security/nss/cmd/libpkix/pkix/top/test_policychecker.c:78]: (warning) Logical disjunction always evaluates to true: c != ':' || c != '}'. Actual results: Source code is if ((c != ':') || (c != '}')) { Maybe better code if ((c != ':') && (c != '}')) {
Assignee: nobody → nobody
Component: Untriaged → Libraries
Product: Firefox → NSS
Version: 54 Branch → other
We should fix this at some point. It's a test, so not high-priority.
Priority: -- → P3
Status: UNCONFIRMED → NEW
Ever confirmed: true
Why is this part built for Firefox? It really shouldn't. How do you build Firefox and how does the log look?
Flags: needinfo?(dcb314)
>Why is this part built for Firefox? It really shouldn't. It does seem to be in the deliverable source code. I am not sure if it gets built or not. I don't build Firefox, I just look at the source code of its components. It might be the case that this source code file can be removed from the deliverables.
Flags: needinfo?(dcb314)
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.