Welcome, Guest. Please Login
Back to main page
  News:
Welcome to the ShadowFlare's Realm Forums.  New registrations are by request only.  To be considered for a new forum account, send an e-mail with the user name and display name you want and the reason you want to register.
  Home SFRealm HelpSearchLogin  
 
Pages: 1
Send Topic Print
WinMPQ crashes at opening a w3x map (Read 3717 times)
RaveN
Peon
*
Offline



Posts: 2

WinMPQ crashes at opening a w3x map
Jul 22nd, 2009, 5:17pm
 
WinMPQ crashes at opening a w3x map TheBlackRoad2.0.0.w3x
I can't assume why it occurs, but RMPQEx opens this map without any errors and warnings.
Please fix this.
Back to top
 
 
  IP Logged
ShadowFlare
Administrator/Lord of Nightmares
*****
Offline

The source of all
chaos

Posts: 125
The Sea of Chaos
Re: WinMPQ crashes at opening a w3x map
Reply #1 - Jul 26th, 2009, 11:14pm
 
It looks like the map contains entries in the mpq hash table that were put there with the intention of making it crash if a program attempted to read it without checking the validity of a certain value.  Apparently the file listing function in my mpq library was not made to handle such invalid entries.

I've updated the function in my mpq library source code to deal with the invalid data.  The WinMPQ download has been updated with a new build of the library from that version of the code.

Personally, I prefer to have bugs fixed, rather than leaving them there just so that "map protectors" can exploit them. Tongue
Back to top
 
« Last Edit: Jul 27th, 2009, 1:55am by ShadowFlare »  

-ShadowFlare

"My mind is my power. My power is my mind.
When uncorrupted by other elements, my mind is my pure power."

"I am a darkness beyond blackest pitch, deeper than the deepest night.
I am the Sea of Chaos. The source of all chaos.
That is how you describe me...
I am... the Lord of Nightmares."
WWW 46431561 ShadowFlareSFR   IP Logged
RaveN
Peon
*
Offline



Posts: 2

Re: WinMPQ crashes at opening a w3x map
Reply #2 - Jul 29th, 2009, 12:17pm
 
Thanks for fix this problem.
Ok, try to find them earlier then "map protectors".  Wink
Back to top
 
 
  IP Logged
Pages: 1
Send Topic Print