Skip to content

pytrap/iplist.c: out-of-bounds write when initializing UnirecIPList with more than 50 entries #244

Description

@Dimertuper

In load_networks(), the initial allocation has space for 50 network entries. When processing the 51st dictionary item, the code writes to networks[50] before checking whether the allocation needs to be expanded resulting in out of bounds write.

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