You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfortunately I don't have any other information other than that the class of the casted Throwable is simply Throwable (as opposed to some other inheritor of Throwable that is not Error or Exception).
My guess is that the HC5 transport is also vulnerable to this bug.
How can one reproduce the bug?
So far it's been a one-off.
What is the expected behavior?
Exception handling should not fail!
What is your host/environment?
Linux. OpenSearch 2.12.0.
Do you have any screenshots?
Nope.
Do you have any additional context?
This is part of the error handling code to wrap exceptions whose stack traces are unrelated to the caller due to the fact that the AWS transport is asynchronous.
The text was updated successfully, but these errors were encountered:
What is the bug?
The cast from Throwable to Exception in AwsSdk2Transport misses the case when a Throwable does not extend Error or Exception.
Unfortunately I don't have any other information other than that the class of the casted Throwable is simply Throwable (as opposed to some other inheritor of Throwable that is not Error or Exception).
My guess is that the HC5 transport is also vulnerable to this bug.
How can one reproduce the bug?
So far it's been a one-off.
What is the expected behavior?
Exception handling should not fail!
What is your host/environment?
Linux. OpenSearch 2.12.0.
Do you have any screenshots?
Nope.
Do you have any additional context?
This is part of the error handling code to wrap exceptions whose stack traces are unrelated to the caller due to the fact that the AWS transport is asynchronous.
The text was updated successfully, but these errors were encountered: