Skip to content

Uninitialized string offset access on invalid HPack data #8

@nikic

Description

@nikic

Doing something like (new HPack)->decode("\xff", 8192) results in an "Uninitialized string offset" warning, as decodeDynamicInteger() performs unchecked indexing.

I would expect this to yield a decoding error (null return value) instead.

Metadata

Metadata

Assignees

No one assigned

    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