Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 1754eb2b authored by J. Bruce Fields's avatar J. Bruce Fields
Browse files

rpc: remove some BUG()s



It would be kinder to WARN() and recover in several spots here instead
of BUG()ing.

Also, it looks like the read_u32_from_xdr_buf() call could actually
fail, though it might require a broken (or malicious) client, so convert
that to just an error return.

Reported-by: default avatarWeston Andros Adamson <dros@monkey.org>
Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
parent 0bad47ca
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment