Skip to content

Poco::icompare(str, pos, ptr) out of bounds error if pos > str.size() #4866

@obiltschnig

Description

@obiltschnig

The implementation evaluates str.size() - pos without checking whether pos is < str.size() first, which may lead to an unsigned underflow followed by an out of bounds read.

Metadata

Metadata

Assignees

Labels

Type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions