Skip to content

Bug in bb_read() in case of cross-section read #2

@sdon1011

Description

@sdon1011

In the code:

// read another part
memcpy((char *)dst+have_read, bip->data+reader->start, size - have_read);
have_read = size;

reader->start += size;

reader->start is incremented with size instead of being incremented with (size - have_read) as in the 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