<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
 <channel>
  <atom:link href="https://smaugmuds.afkmods.com/index.php?a=rssfeed&amp;f=15" rel="self" type="application/rss+xml" />
  <title>SmaugMuds - Forum: AFKMud Bugfix List</title>
  <link>https://smaugmuds.afkmods.com/index.php?a=rssfeed&amp;f=15</link>
  <description>The largest Smaug community resource site. - Bugfixes for the AFKMud codebase will be posted here. These topics can only be edited or replied to by AFKMud Team members.</description>
  <language>en</language>
  <generator>SmaugMuds</generator>
  <ttl>60</ttl>
  <item>
   <title>[Bug] compressEnd does not free up the MCCP buffer if data fails to send.</title>
   <link>https://smaugmuds.afkmods.com/topic/bug-compressend-does-not-free-up-the-mccp-buffer-if-data-fails-to-send-4368/&amp;p=20374#p20374</link>
   <description>Bug: compressEnd does not free up the MCCP buffer if data fails to send. Danger: Medium - If you have a lot of people using MCCP disconnecting regularly and not able to receive data, it leaks 4096 bytes every time that happens. Discovered in: AFKMud 2.1.3 Found by: Nick Gammon Fixed by: Nick Gammon --- [b]features.cpp, descriptor_data::compressEnd[/b] Locate: [code]   if( deflate( mccp-&amp;gt;out_compress, Z_FINISH ) != Z_STREAM_END ) return false; if( !process_compressed(  </description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/bug-compressend-does-not-free-up-the-mccp-buffer-if-data-fails-to-send-4368/&amp;p=20374#p20374</guid>
   <pubDate>Mon, 8 Mar 2010 01:46:19 CST</pubDate>
   <category>AFKMud Bugfix List</category>
   <author>nobody@example.com (Samson)</author>
  </item>
  <item>
   <title>[Bug] The destroy_immdata function has buffer overflows.</title>
   <link>https://smaugmuds.afkmods.com/topic/bug-the-destroyimmdata-function-has-buffer-overflows-4367/&amp;p=20373#p20373</link>
   <description>Bug: The destroy_immdata function has buffer overflows. Danger: High - Very likely deleting an immortal from the game will result in a crash due to overflowed buffers. Discovered in: AFKMud 2.1.2 (delayed posting - already fixed in 2.1.3) Found by: apocalypticNRG Fixed by: Samson --- [b]act_wiz.cpp, destroy_immdata[/b] Locate: [code]   char buf[256], buf2[256];[/code] Change to: [code]   char buf[MSL], buf2[MSL];[/code] Well, that&#039;s embarrassing. these buffers were trying to</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/bug-the-destroyimmdata-function-has-buffer-overflows-4367/&amp;p=20373#p20373</guid>
   <pubDate>Mon, 8 Mar 2010 00:34:25 CST</pubDate>
   <category>AFKMud Bugfix List</category>
   <author>nobody@example.com (Samson)</author>
  </item>
  <item>
   <title>[Bug:Areas] Area conversion fails on Smaug G and R resets.</title>
   <link>https://smaugmuds.afkmods.com/topic/bugareas-area-conversion-fails-on-smaug-g-and-r-resets-4366/&amp;p=20371#p20371</link>
   <description>Bug: Area conversion fails on Smaug G and R resets. Danger: High - Area conversion fails, resulting in a crash. Discovered in: AFKMud 2.1.3 Found by: thindil Fixed by: thindil --- [b]areaconvert.cpp, load_stresets[/b] Locate: [code]      int extra, arg1, arg2, arg3;[/code] Change to: [code]      int extra, arg1, arg2, arg3 = 100;[/code] Locate: [code]      arg3 = fread_number( fp );[/code] Change to: [code]      if( letter != &#039;G&#039; &amp;amp;&amp;amp; letter != &#039;R&#039; ) arg3 = frea</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/bugareas-area-conversion-fails-on-smaug-g-and-r-resets-4366/&amp;p=20371#p20371</guid>
   <pubDate>Sun, 7 Mar 2010 22:46:54 CST</pubDate>
   <category>AFKMud Bugfix List</category>
   <author>nobody@example.com (Samson)</author>
  </item>
  <item>
   <title>[Bug:Editor] Crash when clearing an existing edit buffer.</title>
   <link>https://smaugmuds.afkmods.com/topic/bugeditor-crash-when-clearing-an-existing-edit-buffer-4365/&amp;p=20370#p20370</link>
   <description>Bug: Crash when clearing an existing edit buffer. Danger: High - Potential for a lot of data loss if the crash happens during a long building session where work hasn&#039;t been saved. Discovered in: AFKMud 2.1.3 Found by: Materia Fixed by: Materia --- [b]editor.cpp, char_data::edit_buffer[/b] Locate: [code]      if( !str_cmp( cmd, &amp;quot;c&amp;quot; ) ) { memset( edit, &#039;\0&#039;, sizeof( editor_data ) ); edit-&amp;gt;numlines = 0; edit-&amp;gt;on_line = 0; print( &amp;quot;Buffer</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/bugeditor-crash-when-clearing-an-existing-edit-buffer-4365/&amp;p=20370#p20370</guid>
   <pubDate>Sun, 7 Mar 2010 21:52:47 CST</pubDate>
   <category>AFKMud Bugfix List</category>
   <author>nobody@example.com (Samson)</author>
  </item>
  <item>
   <title>[Bug:Editor] Crash when editing a multi-line buffer.</title>
   <link>https://smaugmuds.afkmods.com/topic/bugeditor-crash-when-editing-a-multi-line-buffer-4364/&amp;p=20368#p20368</link>
   <description>Bug: Crash when editing a multi-line buffer. Danger: High - Potential for a lot of data loss if the crash happens during a long building session where work hasn&#039;t been saved. Discovered in: AFKMud 2.1.3 Found by: Materia Fixed by: Materia --- [b]editor.cpp[/b] Locate: [code]editor_data::editor_data(  ) { init_memory( &amp;amp;line, &amp;amp;size, sizeof( size ) ); }[/code] Change to: [code]editor_data::editor_data(  ) { init_memory( &amp;amp;line, &amp;amp;size, sizeof( size ) ); desc = &amp;quot;&amp;quot;; }[</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/bugeditor-crash-when-editing-a-multi-line-buffer-4364/&amp;p=20368#p20368</guid>
   <pubDate>Sun, 7 Mar 2010 21:41:04 CST</pubDate>
   <category>AFKMud Bugfix List</category>
   <author>nobody@example.com (Samson)</author>
  </item>
  <item>
   <title>[Bug:Helps] Help file keywords are case sensitive.</title>
   <link>https://smaugmuds.afkmods.com/topic/bughelps-help-file-keywords-are-case-sensitive-4363/&amp;p=20367#p20367</link>
   <description>Bug: Help file keywords are case sensitive. Danger: Trivial - Case sensitivity is annoying, not dangerous. Discovered in: AFKMud 2.1.3 Found by: tphegley, Quixadhal, and others Fixed by: Quixadhal --- [b]help.cpp[/b] Locate: [code]#include &amp;lt;fstream&amp;gt;[/code] Below that, add: [code]#include &amp;lt;algorithm&amp;gt;[/code] [b]help.cpp, load_helps[/b] Locate: [code]      else if( key == &amp;quot;Keywords&amp;quot; ) { stream.getline( buf, MSL ); value = buf; strip_lspa</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/bughelps-help-file-keywords-are-case-sensitive-4363/&amp;p=20367#p20367</guid>
   <pubDate>Sun, 7 Mar 2010 21:03:27 CST</pubDate>
   <category>AFKMud Bugfix List</category>
   <author>nobody@example.com (Samson)</author>
  </item>
  <item>
   <title>[Bug] Substate commands do not work</title>
   <link>https://smaugmuds.afkmods.com/topic/bug-substate-commands-do-not-work-4053/&amp;p=17746#p17746</link>
   <description>Bug: Substate commands do not work Danger: High - Blocks all attempts at user input once the substate is locked. Discovered in: AFKMud 2.1.1 Found by: tphegley Fixed by: Samson --- [b]commands.cpp, interpret[/b] Locate: [code]         /* * yes... we lose out on the hashing speediness here... * but the only REPEATCMDS are wizcommands (currently) */ for( char x = 0; x &amp;lt; 126; ++x ) { const vector &amp;lt; cmd_type * &amp;gt;&amp;amp;cmd_list</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/bug-substate-commands-do-not-work-4053/&amp;p=17746#p17746</guid>
   <pubDate>Fri, 22 May 2009 00:01:30 CDT</pubDate>
   <category>AFKMud Bugfix List</category>
   <author>nobody@example.com (Samson)</author>
  </item>
  <item>
   <title>[Bug] Array boundary exceeded during socket buffer flush</title>
   <link>https://smaugmuds.afkmods.com/topic/bug-array-boundary-exceeded-during-socket-buffer-flush-3805/&amp;p=15957#p15957</link>
   <description>Bug: Array boundary exceeded during socket buffer flush Danger: High, with critical potential. Possible crashes or memory corruption due to array boundary overflow. Discovered in: AFKMud 2.1 Found by: GCC 4.3 Fixed by: Samson --- [b]descriptor.cpp, descriptor_data::flush_buffer[/b] Locate: [code]         buf[4096] = &#039;\0&#039;;[/code] Change to: [code]         buf[4095] = &#039;\0&#039;;[/code] GCC 4.3 issues the following warning: [quote]descriptor.cpp: In member function &#039;bool descriptor</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/bug-array-boundary-exceeded-during-socket-buffer-flush-3805/&amp;p=15957#p15957</guid>
   <pubDate>Sun, 5 Oct 2008 21:34:29 CDT</pubDate>
   <category>AFKMud Bugfix List</category>
   <author>nobody@example.com (Samson)</author>
  </item>
  <item>
   <title>[Bug] Copyzone command checks the wrong set of areas by default</title>
   <link>https://smaugmuds.afkmods.com/topic/bug-copyzone-command-checks-the-wrong-set-of-areas-by-default-3640/&amp;p=14707#p14707</link>
   <description>Bug: Copyzone command checks the wrong set of areas by default Danger: Low - The command will simply fail if the wrong area names are checked. Discovered in: AFKMud 2.03 Found by: Samson Fixed by: Samson --- [b]shell.cpp, do_copyzone[/b] Locate: [code]      if( !str_cmp( argument, &amp;quot;gods.are&amp;quot; ) ) fname2 = &amp;quot;gods.are&amp;quot;; if( !str_cmp( argument, &amp;quot;bywater.are&amp;quot; ) ) fname2 = &amp;quot;bywater.are&amp;quot;; if( !str_cmp( argument, &amp;quot;entry.are&amp;quot; ) ) fname2 = &amp;quot;entry.ar</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/bug-copyzone-command-checks-the-wrong-set-of-areas-by-default-3640/&amp;p=14707#p14707</guid>
   <pubDate>Sun, 9 Mar 2008 13:06:55 CDT</pubDate>
   <category>AFKMud Bugfix List</category>
   <author>nobody@example.com (Samson)</author>
  </item>
  <item>
   <title>[Bug] Somewhere exits are not always handled right by get_dir</title>
   <link>https://smaugmuds.afkmods.com/topic/bug-somewhere-exits-are-not-always-handled-right-by-getdir-3627/&amp;p=14593#p14593</link>
   <description>Bug: Somewhere exits are not always handled right by get_dir Danger: Low - This requires a very specific usage of the redit command before the issue shows itself. Discovered in: AFKMud 2.03 Found by: Remcon Fixed by: Remcon --- [b]build.cpp, get_dir[/b] Locate: [code]      case &#039;e&#039;: case &#039;1&#039;: edir = DIR_EAST; break;   /* east  */[/code] Change to: [code]      case &#039;e&#039;: case &#039;1&#039;: if( c2 == &#039;0&#039; ) edir = DIR_SOMEWHERE; </description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/bug-somewhere-exits-are-not-always-handled-right-by-getdir-3627/&amp;p=14593#p14593</guid>
   <pubDate>Thu, 21 Feb 2008 23:41:24 CST</pubDate>
   <category>AFKMud Bugfix List</category>
   <author>nobody@example.com (Samson)</author>
  </item>
 </channel>
</rss>
