Skip to content

TARGET_TMPM46B/i2c_api.c does not check result of realloc #9987

@janjongboom

Description

@janjongboom

Description

In the TMPM46B target gI2C_LTxData is reallocated here but the return value is not checked. If this fails it could lead to writing in uninitialized memory.

Issue request type

[ ] Question
[ ] Enhancement
[X] Bug

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions