<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : Missing pointer test</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : Missing pointer test]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 30 Apr 2026 21:03:21 +0000</pubDate>
  <lastBuildDate>Mon, 05 Nov 2012 17:26:06 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=20231</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[Missing pointer test : I ran into the same crash, but...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=20231&amp;PID=69171&amp;title=missing-pointer-test#69171</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=109">mgampi</a><br /><strong>Subject:</strong> 20231<br /><strong>Posted:</strong> 05 November 2012 at 5:26pm<br /><br />I ran into the same crash, but in my case it's not reproduceable all the time!<br><br>]]>
   </description>
   <pubDate>Mon, 05 Nov 2012 17:26:06 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=20231&amp;PID=69171&amp;title=missing-pointer-test#69171</guid>
  </item> 
  <item>
   <title><![CDATA[Missing pointer test : Hello,We are having a crash there...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=20231&amp;PID=69098&amp;title=missing-pointer-test#69098</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2347">Sergio</a><br /><strong>Subject:</strong> 20231<br /><strong>Posted:</strong> 17 October 2012 at 10:39am<br /><br />Hello,<div><br></div><div>We are having a crash there :</div><blockquote style="margin: 0 0 0 40px; border: n&#111;ne; padding: 0px;"><div><div><br></div><div>CXTPReportColumn* CXTPReportColumns::Find(int nItemIndex) const</div></div><div><div>{</div></div><div><div>&nbsp; &nbsp; &nbsp; &nbsp; for (int nColumn = 0; nColumn &lt; GetCount(); nColumn++)</div></div><div><div>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;{</div></div><div><div>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;CXTPReportColumn* <b>pColumn = GetAt(nColumn)</b>;</div></div><div><div>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;if (<b>pColumn-&gt;</b>GetItemIndex() == nItemIndex)</div></div><div><div>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;return pColumn;</div></div><div><div>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;}</div></div><div><div>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;return NULL;</div></div><div><div>}</div></div></blockquote><div><br></div><div>We are having a case where the method GetAt(...) returns NULL, and the variable pColumn is NULL. You access directly to a member method of that variable without checking for its validity.</div><div><br></div><div>Our temporary workaround is to code our own Find method.</div><div><br></div><div>Please fix that for the next release, as we use the Find in many other parts of the code.</div><div><br></div><div>Thank you.</div><div><br></div>]]>
   </description>
   <pubDate>Wed, 17 Oct 2012 10:39:54 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=20231&amp;PID=69098&amp;title=missing-pointer-test#69098</guid>
  </item> 
 </channel>
</rss>