[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Crash in tostringbuff when -D_FORTIFY_SOURCE=2 is not defined in Lua 5.4
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Tue, 18 Aug 2020 15:58:39 -0300
The page https://stackoverflow.com/questions/13517526/difference-between-gcc-d-fortify-source-1-and-d-fortify-source-2
says:
"If _FORTIFY_SOURCE is set to 1, with compiler optimization level 1
(gcc -O1) and above, checks that shouldn't change the behavior of
conforming programs are performed. With _FORTIFY_SOURCE set to 2, some
more checking is added, but some conforming programs might fail."
"some conforming programs might fail" caught my eye...