danielepantaleone / ioq3-UrT

Custom fork of ioq3 engine suited for the game Urban Terror
http://www.goreclan.net
GNU General Public License v2.0
8 stars 7 forks source link

Bug on SV_ReadRconUserList #6

Closed vincentvegas closed 9 years ago

vincentvegas commented 9 years ago

Hi Daniele, i noticed a bug when you allocate memory with a malloc, more precisely in the istruction buffer = Z_Malloc(size); in SV_ReadRconUserList This happens when you have bot_enable 1 (i still don't understand why) and after a certain number of cyclemap (8 for me). Error is the following: ----- Server Shutdown (Server fatal crashed: Z_Malloc: failed on allocation of 7468184 bytes from the main zone) ----- Sys_Error: recursive error after: Z_Malloc: failed on allocation of 7468184 bytes from the main zone

danielepantaleone commented 9 years ago

Hi, thanks for reporting the issue. I do not have much free time lately but I'll try to provide a fix as soon as I can.

Inviato da iPhone

Il giorno 31/mar/2015, alle ore 00:31, Vega notifications@github.com ha scritto:

Hi Daniele, i noticed a bug when you allocate memory with a malloc, more precisely in the istruction buffer = Z_Malloc(size); in SV_ReadRconUserList This happens when you have bot_enable 1 (i still don't understand why) and after a certain number of cyclemap (8 for me). Error is the following: ----- Server Shutdown (Server fatal crashed: Z_Malloc: failed on allocation of 7468184 bytes from the main zone) ----- Sys_Error: recursive error after: Z_Malloc: failed on allocation of 7468184 bytes from the main zone

— Reply to this email directly or view it on GitHub.