<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;t=1250" rel="self" type="application/rss+xml" />
  <title>SmaugMuds - Topic: [Bug] fwrite_obj does not validate for NULL objects</title>
  <link>https://smaugmuds.afkmods.com/index.php?a=rssfeed&amp;t=1250</link>
  <description>The largest Smaug community resource site. - AFKMud 1.77</description>
  <language>en</language>
  <generator>SmaugMuds</generator>
  <ttl>60</ttl>
  <item>
   <title>[Bug] fwrite_obj does not validate for NULL objects</title>
   <link>https://smaugmuds.afkmods.com/topic/bug-fwriteobj-does-not-validate-for-null-objects-1250/&amp;p=4603#p4603</link>
   <description>Bug: fwrite_obj does not validate for NULL objects Danger: Low - A crash will result, but apparently the conditions aren&#039;t very common. Discovered in: AFKMud 1.77 Found by: Phoneix Dracul Fixed by: Phoneix Dracul --- [b]save.c, fwrite_obj[/b] Locate: [code] if( iNest &amp;gt;= MAX_NEST ) { bug( &amp;quot;fwrite_obj: iNest hit MAX_NEST %d&amp;quot;, iNest ); return; } [/code] Below that, add: [code] if( !obj ) { bug( &amp;quot;%s: NULL obj&amp;quot;, __FUNCTION__ ); return</description>
   <guid isPermaLink="true">https://smaugmuds.afkmods.com/topic/bug-fwriteobj-does-not-validate-for-null-objects-1250/&amp;p=4603#p4603</guid>
   <pubDate>Sun, 29 Oct 2006 16:08:38 CST</pubDate>
   <category>AFKMud Bug Archive</category>
   <author>nobody@example.com (Samson)</author>
  </item>
 </channel>
</rss>
