Skip to content

Unmarshaling enters infinite loop if the length field is zero. #70

@kastork

Description

@kastork

When sending PDU's constructed in open-dis python, the length field is zero. During unmarshalling in open-dis-java, an infinite loop is entered because the buffer read pointer is never advanced to the end of the first pdu in the UDP packet.

A pdu with zero in the length field should be detected as invalid and handled accordingly.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions