Changeset View
Changeset View
Standalone View
Standalone View
head/net/ceph14/files/patch-src_auth_KeyRing.cc
Property | Old Value | New Value |
---|---|---|
fbsd:nokeywords | null | yes \ No newline at end of property |
svn:eol-style | null | native \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
diff --git a/src/auth/KeyRing.cc b/src/auth/KeyRing.cc | |||||
index a2833183633a..c4fc15a2380b 100644 | |||||
--- src/auth/KeyRing.cc | |||||
+++ src/auth/KeyRing.cc | |||||
@@ -203,6 +203,12 @@ void KeyRing::decode(bufferlist::const_iterator& bl) { | |||||
} catch (buffer::error& err) { | |||||
keys.clear(); | |||||
decode_plaintext(start_pos); | |||||
+ }catch (buffer::end_of_buffer& err) { | |||||
+ keys.clear(); | |||||
+ decode_plaintext(start_pos); | |||||
+ } catch (exception& e){ | |||||
+ keys.clear(); | |||||
+ decode_plaintext(start_pos); | |||||
} | |||||
} | |||||