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
{{ message }}
This repository has been archived by the owner on Dec 23, 2023. It is now read-only.
Please answer these questions before submitting a bug report.
What version of OpenCensus are you using?
0.24.0
What JVM are you using (java -version)?
1.8
What did you do?
When using OcHttpServletFilter and the trace id is too short, TraceContextFormat's argument check, will throw a StringIndexOutOfBoundsException which is not caught.
What did you expect to see?
TraceContextFormat throws a SpanContextParseException and does not throw an uncaught exception
What did you see instead?
Uncaught StringIndexOutOfBoundsException at the application level
Additional context
By re-ordering to check length first, this issue should be caught
Please answer these questions before submitting a bug report.
What version of OpenCensus are you using?
0.24.0
What JVM are you using (
java -version
)?1.8
What did you do?
When using OcHttpServletFilter and the trace id is too short, TraceContextFormat's argument check, will throw a StringIndexOutOfBoundsException which is not caught.
What did you expect to see?
TraceContextFormat throws a SpanContextParseException and does not throw an uncaught exception
What did you see instead?
Uncaught StringIndexOutOfBoundsException at the application level
Additional context
By re-ordering to check length first, this issue should be caught
The text was updated successfully, but these errors were encountered: