Login
User Name:

Password:



Register

Forgot your password?
do_owhere recursive
Author: Khonsu
Submitted by: Khonsu
Changes list / Addchange
Author: Khonsu
Submitted by: Khonsu
6Dragons mp3 sound pack
Author: Vladaar
Submitted by: Vladaar
AFKMud 2.2.3
Author: AFKMud Team
Submitted by: Samson
SWFOTEFUSS 1.5
Author: Various
Submitted by: Samson
Users Online
AhrefsBot, Bing, Majestic-12, Yandex

Members: 0
Guests: 35
Stats
Files
Topics
Posts
Members
Newest Member
489
3,792
19,646
597
Aileenutz

Today's Birthdays
There are no member birthdays today.
» SmaugMuds » Bugfix Lists » SWR FUSS Bugfix List » [Bug] Values are improperly a...
Forum Rules | Mark all | Recent Posts

[Bug] Values are improperly allocated in fread_sysdata
< Newer Topic :: Older Topic >

Pages:<< prev 1 next >>
Post is unread #1 Jan 2, 2009 1:15 pm   
Go to the top of the page
Go to the bottom of the page

InfiniteAxis
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:
            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 >>