buffer overflow after compiling with FORTIFY_SOURCE=3
bastiple opened this issue · comments
Hi,
Archlinux has recently started building packages with -D_FORTIFY_SOURCE=3
,
for example: c++ -O2 -D_FORTIFY_SOURCE=3 -Dunix zpaqfranz.cpp -pthread
.
This results in zpaqfranz crashing with the error: *** buffer overflow detected ***: terminated
.
The crash occurs when showing a multi-page help screen, e.g. zpaqfranz h full
or zpaqfranz h a
.
I am compiling with gcc 14.1.1
Thank you very much
Arch is rather "a strange beast", I'll check later today
Can you please check the attached pre-release?
Thanks
59_7p.zip
That has fixed the error for me.
Thanks!