Project

General

Profile

Actions

Bug #41717

open

ceph::buffer::end_of_buffer isn't caught in void KeyRing::decode(bufferlist::const_iterator& bl)

Added by Willem Jan Withagen over 4 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
nautilus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

[On FreeBSD]
This results in an ABORT signal in bin/ceph when running vstart.sh

Only buffer::error is caught, but reading config text sometimes
lets the buffer_length run into absurd numbers.
Getting out of bounds access in the buffer, generating a trap.

So we need to catch that as well.

However adding buffer::end_of_buffer as exception in another case
does not seem to work, because it is not matched????
So catching all exceptions, and continue to perhaps trap in decode_plaintext()

No data to display

Actions

Also available in: Atom PDF