Skip to content
This repository has been archived by the owner on Jul 31, 2023. It is now read-only.

Safely reject invalid-length span and trace ids #1206

Merged
merged 1 commit into from
Apr 2, 2020

Conversation

aopat
Copy link
Contributor

@aopat aopat commented Apr 2, 2020

Fixes #1205

Current behaviour is to panic on span/trace IDs with valid hex encoding which exceed expected lengths.

This PR causes these IDs to be rejected as for any other invalid encoding.

@aopat aopat requested review from rakyll, rghetia and a team as code owners April 2, 2020 09:46
@rghetia rghetia merged commit d3cf45e into census-instrumentation:master Apr 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Panic when x-b3-spanid exceeds 16 characters
3 participants