[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4752: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4754: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4755: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4756: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
ToME: the Tales of Maj'Eyal • View topic - ToME 2.3.5 - Crash on Save/Load

ToME: the Tales of Maj'Eyal

Everything about ToME
It is currently Thu Apr 15, 2021 11:06 pm

All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Sat Oct 24, 2015 9:42 pm 
Offline

Joined: Sat Oct 24, 2015 8:48 pm
Posts: 2
This topic has been written about several times (over the course of more than a decade), but I have yet to see any resolutions.

I am playing ToME 2.3.5 as found in the Software Manager of Linux Mint 17.2 "Rafaela." However, whenever I try to save, I crash to desktop. Anyone else have this problem and/or know how to fix it?


Top
 Profile  
 
PostPosted: Sun Oct 25, 2015 2:48 pm 
Offline
Uruivellas

Joined: Tue Dec 13, 2005 12:35 am
Posts: 712


Top
 Profile  
 
PostPosted: Sun Oct 25, 2015 3:08 pm 
Offline
Uruivellas

Joined: Tue Dec 13, 2005 12:35 am
Posts: 712
Yeah, this is Ubuntu's buffer overflow detection killing the program. You'll have to either upgrade to the tome2-ah versions, or fix the bug and recompile. Let me see if I can figure out where it's bugging out exactly.


Top
 Profile  
 
PostPosted: Sun Oct 25, 2015 3:12 pm 
Offline
Uruivellas

Joined: Tue Dec 13, 2005 12:35 am
Posts: 712
So, this is a bad strcpy call in do_subrace() in loadsave.c, line 240. I'm guessing the target buffer is too small, thus the buffer overflow detection.


Top
 Profile  
 
PostPosted: Sun Oct 25, 2015 3:22 pm 
Offline
Uruivellas

Joined: Tue Dec 13, 2005 12:35 am
Posts: 712


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group