Deduplicating archiver with encryption and paranoid-level tests. Swiss army knife for the serious backup and disaster recovery manager. Ransomware neutralizer. Win/Linux/Unix
MIT License
275
stars
25
forks
source link
buffer overflow after compiling with FORTIFY_SOURCE=3 #106
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
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
orzpaqfranz h a
. I am compiling with gcc 14.1.1