Skip to content

buffer overrun #14

@alex31

Description

@alex31

on line 149 of microrl.c, it seems that
it should be
if (pThis->ring_buf [header] + header + 1 < _RING_HISTORY_LEN) {
^^^^

with original test, i had crash, because there can be an out of bound read on tle
following memcpy.

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