[Bug] Values are improperly allocated in fread_sysdata
< Newer Topic
:: Older Topic >
Pages:<< prev 1 next >>
#1 Jan 2, 2009 1:15 pm
Off the Edge of the Map
GroupAdministrators
Posts1,200
JoinedMar 21, 2006
Bug: Values are improperly allocated in fread_sysdata
Danger: High - Possible data corruption.
Found by: Keberus
Fixed by: Keberus
---
db.c fread_sysdata
Find:
Replace with:
This will fix the memory mismatch issue for these two values.
Danger: High - Possible data corruption.
Found by: Keberus
Fixed by: Keberus
---
db.c fread_sysdata
Find:
KEY( "Guildoverseer", sys->guild_overseer, fread_string( fp ) ); KEY( "Guildadvisor", sys->guild_advisor, fread_string( fp ) );
Replace with:
KEY( "Guildoverseer", sys->guild_overseer, fread_string_nohash( fp ) ); KEY( "Guildadvisor", sys->guild_advisor, fread_string_nohash( fp ) );
This will fix the memory mismatch issue for these two values.
Pages:<< prev 1 next >>