Zeex/crashdetect — Issue #5: problem with debug lines
Author: testname1
Created: 2011-12-01 19:54:07+00:00
State: open

In file number of debug lines is saved as 16 bit signed integer,
as result you can't use debug -d3 with gamemode more then 2^15 debug lines and server will crash or stack will corrupted
you can resolve this problem, but not at all:
src\amx\amxdbg.h
structure tagAMX_DBG_HDR
int16_t lines to uint16_t lines
but problem still exists on scripts with debug lines > 2^16

how to reproduce:

main()
{
new test[2];

//>32k times
test[random(2)]=0;
}