[jboss-jira] [JBoss JIRA] (ELY-1449) Coverity: Dead local store in DigestUtil.java
Darran Lofthouse (JIRA)
issues at jboss.org
Mon Nov 20 05:27:00 EST 2017
[ https://issues.jboss.org/browse/ELY-1449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13491453#comment-13491453 ]
Darran Lofthouse commented on ELY-1449:
---------------------------------------
I think issues like this may be going a step too far unless some verification has been undertaken to confirm this is an actual issue before raising the bug report.
There are PRs in the queue at the moment with various refactorings around the Digest mechanism anyway, ideally as an engineer works on the code their IDE should already be set up to flag situations like this one and if they are working in the code correct it - but I would not really expect someone to proactively divert time to this. Add to that a trivial / unscheduled issue is not like to get attention anyway so we end up with redundant issues that in the end will just need to be cleaned up rather than being actioned.
> Coverity: Dead local store in DigestUtil.java
> ---------------------------------------------
>
> Key: ELY-1449
> URL: https://issues.jboss.org/browse/ELY-1449
> Project: WildFly Elytron
> Issue Type: Bug
> Components: Utils
> Affects Versions: 1.2.0.Beta10
> Reporter: Martin Choma
> Priority: Trivial
>
> In org.wildfly.security.mechanism.digest.DigestUtil.parseResponse(byte[], java.nio.charset.Charset, boolean, org.wildfly.security._private.ElytronMessages): This instruction assigns a value to a local variable, but the value is not read or used in any subsequent instruction
> https://scan7.coverity.com/reports.htm#v23632/p11778/fileInstanceId=40661976&defectInstanceId=8722291&mergedDefectId=1462036
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the jboss-jira
mailing list