Skip to content

Bufferoverflow RN487x_BLE.cpp #1

@SodaqMoja

Description

@SodaqMoja

The following code is present at various places in RN487x_BLE.cpp

char c1[4] ;
sprintf(c1, "%04X", scanInterval) ;

The sprintf is going write 5 bytes and the stack will be corrupted. Futhermore, the code should be refactored similar to what is done in commit e0fbfac.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions