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)
NSS
Libraries
Tracking
(Not tracked)
NEW
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 != '}')) {
Updated•8 years ago
|
Assignee: nobody → nobody
Component: Untriaged → Libraries
Product: Firefox → NSS
Version: 54 Branch → other
Comment 1•8 years ago
|
||
We should fix this at some point. It's a test, so not high-priority.
Priority: -- → P3
Updated•8 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 2•8 years ago
|
||
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)
| Reporter | ||
Comment 3•8 years ago
|
||
>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)
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•