Skip to content

Out-of-bounds in url converter #851

@mad

Description

@mad

When is '//' removed we access i + 2 indecies. But array is 257 length and iterate until 256, on last iteration 255 + 2 == 257 and we out-of-bounds.

There:

https://github.com/bitcoin/bitcoin/blob/master/src/qt/qtipcserver.cpp#L37
https://github.com/bitcoin/bitcoin/blob/master/src/qt/qtipcserver.cpp#L73

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