IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Another Crash Fix
JRob
post Jun 2 2011, 02:17 AM
Post #1


Advanced Member
***

Group: Members
Posts: 52
Joined: 30-April 11
Member No.: 1,970



Here's a fix for a somewhat rare crash.

bot_schedule.h:230
void removeTop ()

Add this

if(m_Schedules.IsEmpty())
return;

There are cases where removeTop() is called when the linked list is empty. And it attempts to perform commands on null pointers.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 28th March 2024 - 11:47 PM