Skip to content

ObjectIdentifer encoded by 64 bit libember or EmberPlusViewer can segfault 32 bit libember decoder #102

Closed
@benoitquiniou

Description

@benoitquiniou

Have a 64 bit application communicates with a 32 bit application (doesn't matter who is provider and consumer, the bug was found with a 32 bit provider, 64 bit consumer).
Have an element in the tree having number 0xdd010000.
The 64 bit application will encode it like this:

0xff 0xff 0xff 0xff 0xff 0xfd 0xe8 0x84 0x80 0x0

which the 32 bit application will not be able to decode. Instead it will segfault in libember::dom::AsyncBerReader::decodeNode.

Activity

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions