Skip to content

Out-of-bounds array access in TLE5012B driver (_registers[CRC_NUM_REGISTERS + 1]) #4

@heqianga624

Description

@heqianga624

Description
TLE5012b.cpp:318 writes to _registers[CRC_NUM_REGISTERS + 1], but _registers only has CRC_NUM_REGISTERS + 1 elements, so index CRC_NUM_REGISTERS + 1 is one past the end.

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