Skip to content

fread segfaults when reading a file with size a multiple of 4k #2194

@st-pasha

Description

@st-pasha

Happens in line 768: *_const_cast(eof) = eol;
The error is:

 *** caught bus error ***
address 0x1012b9000, cause 'non-existent physical address'

4k.txt

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions