Because in GNU/Linux... char* line is NULL when i initialized it. You can
close topic.
My solution is char* line = NULL. ^^

Le ven. 14 janv. 2022 à 13:40, Crystal Kolipe <[email protected]>
a écrit :

> On Fri, Jan 14, 2022 at 01:03:21PM +0100, Bilal Emohmadian wrote:
> > Writing my game engine in Cpp to see OpenBSD support but when my program
> > want to use this method.
> > CC is ok to use getline's method but binary don't.
> >
> >
> > a.out(84808) in recallocarray(): bogus pointer (double free?)
> 0x7f7fffff47a8
>
> This is a bug in your program, not in OpenBSD.
>

Reply via email to