Parsers.jl icon indicating copy to clipboard operation
Parsers.jl copied to clipboard

Buffer Overflow during precompile

Open Zentrik opened this issue 2 months ago • 4 comments

Specifically, it seems to be the call to mpfr_strtofr added in https://github.com/JuliaData/Parsers.jl/commit/504dfdf8bf3fa209e028161c8283bd1c8d0b1c6d. See https://github.com/JuliaLang/julia/issues/53898 for more info.

https://gitlab.inria.fr/mpfr/mpfr/-/blob/4.2.0/src/strtofr.c?ref_type=tags#L326 is the line where the error occurs,

pstr->alloc = (size_t) strlen (str) + 1;

Are we missing the null terminator?

Zentrik avatar Apr 04 '24 22:04 Zentrik