Skip to content

Prevent the referrer policy helper from writing past the caller buffer #28

Description

@srpatcha

eb_priv_apply_referrer can write a terminator one byte beyond the caller-provided output buffer. Bound the write correctly and add regression coverage for the boundary case.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions