Issue information

Issue ID
#2068
Status
Fixed
Severity
None
Started
Hercules Elf Bot
Aug 15, 2008 20:08
Last Post
Hercules Elf Bot
Aug 15, 2008 20:08
Confirmation
N/A

Hercules Elf Bot - Aug 15, 2008 20:08

Originally posted by [b]theultramage[/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=2068

No idea if this has been reported but I was trying something and noticed this so thought I should report it.

char.c

CODE
Line 2290 : unsigned char buf[32000];

Change to :
CODE
unsigned char buf[32004];


Can crash when there are 6400 GM accounts.

Also,

login.c

CODE
    Line 226 : if (GM_num >= 4000)
                ShowWarning("4000 GM accounts found. Next GM accounts are not read.\n");


Doesn't make sense since up to 6400 GM account are sent to the Char Server and Map server.