[Bugs] [Bug 1523122] fix serval bugs found on testing protocol/client

bugzilla at redhat.com bugzilla at redhat.com
Wed Mar 28 07:38:03 UTC 2018


https://bugzilla.redhat.com/show_bug.cgi?id=1523122

Worker Ant <bugzilla-bot at gluster.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|POST                        |MODIFIED



--- Comment #11 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/18985 committed in master by "Amar Tumballi"
<amarts at redhat.com> with a commit message- rpc: fix incorrect return value when
xdr decode fails

xdr_replymsg is called to decode reply message, and it returns failure
if the message is corrupted. However, retrieving return value from
the global errno is 0 even xdr_replymsg fails.

Fix this issue by simply returning a negative value if call to
xdr_replymsg fails.

Change-Id: I2b9a1dc97652fbb6cf6568ea617f120713784a55
BUG: 1523122
Signed-off-by: Zhang Huan <zhanghuan at open-fs.com>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list