You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Leif Hedstrom (JIRA)" <ji...@apache.org> on 2016/09/28 22:21:20 UTC
[jira] [Updated] (TS-4906) CID 1363289: Error handling issues in
lib/ts/HashMD5.cc
[ https://issues.apache.org/jira/browse/TS-4906?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Leif Hedstrom updated TS-4906:
------------------------------
Summary: CID 1363289: Error handling issues in lib/ts/HashMD5.cc (was: CID 1363289: Error handling issues in )
> CID 1363289: Error handling issues in lib/ts/HashMD5.cc
> -------------------------------------------------------
>
> Key: TS-4906
> URL: https://issues.apache.org/jira/browse/TS-4906
> Project: Traffic Server
> Issue Type: Bug
> Components: Core
> Reporter: Leif Hedstrom
> Assignee: Phil Sorber
> Fix For: 7.1.0
>
> Time Spent: 50m
> Remaining Estimate: 0h
>
> From coverity:
> {code}
> *** CID 1363289: Error handling issues (CHECKED_RETURN)
> /lib/ts/HashMD5.cc: 36 in ATSHashMD5::update(const void *, unsigned long)()
> 30 }
> 31
> 32 void
> 33 ATSHashMD5::update(const void *data, size_t len)
> 34 {
> 35 if (!finalized) {
> CID 1363289: Error handling issues (CHECKED_RETURN)
> Calling "EVP_DigestUpdate" without checking return value (as is done elsewhere 4 out of 5 times).
> 36 EVP_DigestUpdate(ctx, data, len);
> 37 }
> 38 }
> 39
> 40 void
> 41 ATSHashMD5::final(void)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)