diff options
author | Mohammed Azhar Padariyakam <mpadariy@redhat.com> | 2017-11-02 14:57:28 +0530 |
---|---|---|
committer | Amar Tumballi <amarts@redhat.com> | 2017-11-06 07:42:51 +0000 |
commit | 2891f993ac1cee6198661682039cf499a0824f2e (patch) | |
tree | 0b7849361a2c33ac315fe715bf156636397fdfa3 /INSTALL | |
parent | af8604d5e9826df57aee7aba235d2e77a7e7f8fb (diff) |
server-helpers: Coverity Fix CONSTANT_EXPRESSION_RESULT in serialize_rsp_direntp
Issue : "trav->dict.dict_len > 4294967295U" is always false regardless of the values
of its operands. .But dict_serialized_length can return < 0 when error happens.
Solution : Remove the comparison which always turns out to be false and add a new
condition for error checking.
Fix : The if-condition was renewed.
Coverity-Id: 108 from [1]
[1]: https://download.gluster.org/pub/gluster/glusterfs/static-analysis/master/glusterfs-coverity/2017-10-30-9aa574a5/html/
Change-Id: I9956b6ca7c4bf7444f19aadd3b32fceac011a44e
BUG: 789278
Signed-off-by: Mohammed Azhar Padariyakam <mpadariy@redhat.com>
Diffstat (limited to 'INSTALL')
0 files changed, 0 insertions, 0 deletions