[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: games/xpipeman problem?
On 30.01.2021 16:15, Paul Goyette wrote:
Not that I play often :) but xpipeman seems tobe broken. Running
it seems to call abort(), ...
Fixed. It was a trivial buffer overflow that would have been caught if
the CFLAGS had only included -Werror=format.
To find the cause and fix it, I did this:
make CFLAGS="-O0 -ggdb"
gdb --args work/xpipeman/xpipeman
This told me that sprintf was called from main.c:324. The rest was
simple character counting.
Main Index |
Thread Index |