<?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 : GetName() crash in Temp Int Files</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : General Discussion : GetName() crash in Temp Int Files]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 14 May 2026 01:11:23 +0000</pubDate>
  <lastBuildDate>Thu, 27 Jul 2006 10:31:59 +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=4629</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[GetName() crash in Temp Int Files : Hi, We will release 10.3 on this...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4629&amp;PID=14418&amp;title=getname-crash-in-temp-int-files#14418</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 4629<br /><strong>Posted:</strong> 27 July 2006 at 10:31am<br /><br /><DIV>Hi,</DIV><DIV>We will release 10.3 on this or next week.</DIV><DIV></DIV>]]>
   </description>
   <pubDate>Thu, 27 Jul 2006 10:31:59 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4629&amp;PID=14418&amp;title=getname-crash-in-temp-int-files#14418</guid>
  </item> 
  <item>
   <title><![CDATA[GetName() crash in Temp Int Files : Hello, What is the ETA for this...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4629&amp;PID=14402&amp;title=getname-crash-in-temp-int-files#14402</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1730">novastor</a><br /><strong>Subject:</strong> 4629<br /><strong>Posted:</strong> 26 July 2006 at 5:15pm<br /><br /><P>Hello,</P><DIV>What is the ETA for this fix? We have a release scheduled in two weeks and this is a gating issue for us.</DIV><DIV>&nbsp;</DIV><DIV>Thanks,</DIV><DIV>&nbsp;</DIV><DIV>Sachin Modak.</DIV>]]>
   </description>
   <pubDate>Wed, 26 Jul 2006 17:15:02 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4629&amp;PID=14402&amp;title=getname-crash-in-temp-int-files#14402</guid>
  </item> 
  <item>
   <title><![CDATA[GetName() crash in Temp Int Files : Hello,  Hmm.  right, lpFriendlyName...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4629&amp;PID=14287&amp;title=getname-crash-in-temp-int-files#14287</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 4629<br /><strong>Posted:</strong> 21 July 2006 at 12:33pm<br /><br />Hello,<DIV>&nbsp;</DIV><DIV>Hmm. </DIV><DIV>right, lpFriendlyName has only 255 symbols (MAX_PATH)&nbsp; we will fix it to replace LPCTSTR lpFriendlyName to CString&amp;</DIV><DIV>&nbsp;</DIV><DIV>Thank you for let us know.</DIV>]]>
   </description>
   <pubDate>Fri, 21 Jul 2006 12:33:20 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4629&amp;PID=14287&amp;title=getname-crash-in-temp-int-files#14287</guid>
  </item> 
  <item>
   <title><![CDATA[GetName() crash in Temp Int Files : Hi,  Here is what you asked...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4629&amp;PID=14261&amp;title=getname-crash-in-temp-int-files#14261</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1730">novastor</a><br /><strong>Subject:</strong> 4629<br /><strong>Posted:</strong> 20 July 2006 at 4:43pm<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Here is what you asked for. It seems that there is a buffer overflow in STRCPY_S()...</DIV><FONT size=2><P>BOOL CXTShellPidl::GetName(LPSHELLFOLDER lpsf, LPITEMIDLIST lpi, DWORD dwFlags, TCHAR* lpFriendlyName)</P><P>{</P><P>...</P><DIV></FONT><FONT color=#0000ff size=2>if</FONT><FONT size=2> (lpsf-&gt;GetDisplayNameOf(lpi, dwFlags, &amp;str) == NOERROR)</DIV><P>{</P><P></FONT><FONT color=#0000ff size=2>switch</FONT><FONT size=2> (str.uType)</P><P>{</P><P></FONT><FONT color=#0000ff size=2>case</FONT><FONT size=2> STRRET_WSTR:</P></FONT><FONT color=#0000ff size=2><P>#if</FONT><FONT size=2> </FONT><FONT color=#0000ff size=2>defined</FONT><FONT size=2>(_UNICODE)</P><P>STRCPY_S(lpFriendlyName, MAX_PATH, str.pOleStr);</P></FONT><FONT color=#0000ff size=2><P>#else</P></FONT><FONT size=2><P>::WideCharToMultiByte(CP_ACP, 0, str.pOleStr, -1, lpFriendlyName,</P><P>MAX_PATH, NULL, NULL);</P><DIV></FONT><FONT size=2>...</FONT><FONT color=#0000ff size=2></FONT></DIV><P><FONT size=2></P><P>}</P><DIV></DIV><P>hope this helps.</P><DIV></DIV><DIV></DIV>Sachin Modak.</FONT>]]>
   </description>
   <pubDate>Thu, 20 Jul 2006 16:43:27 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4629&amp;PID=14261&amp;title=getname-crash-in-temp-int-files#14261</guid>
  </item> 
  <item>
   <title><![CDATA[GetName() crash in Temp Int Files : Hi,  GetName() ? What class name?...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4629&amp;PID=14260&amp;title=getname-crash-in-temp-int-files#14260</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 4629<br /><strong>Posted:</strong> 20 July 2006 at 3:39pm<br /><br />Hi, <DIV>GetName() ? What class name?</DIV>]]>
   </description>
   <pubDate>Thu, 20 Jul 2006 15:39:31 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4629&amp;PID=14260&amp;title=getname-crash-in-temp-int-files#14260</guid>
  </item> 
  <item>
   <title><![CDATA[GetName() crash in Temp Int Files :  Hello,  I am using GetName()...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4629&amp;PID=14259&amp;title=getname-crash-in-temp-int-files#14259</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1730">novastor</a><br /><strong>Subject:</strong> 4629<br /><strong>Posted:</strong> 20 July 2006 at 2:46pm<br /><br />Hello,<br><br>I am using GetName() function to load elements inside a list. Howeverwhen I am allowing my populatelist function to run on TemporaryInternet Files it throws an exception details:<br><br>Path: C:\Doc &amp; Settings\..My profile\Local Settings\Temporary Internet Files\<br><br>Debug Assertion Failed:<br>File:.\tcscpy_s.inl<br>Line: 30<br><br>Expression:(L"Buffer is too small" &amp;&amp; 0)<br><br>Anyone any idea whats going on?<br><br>One observation is that this temporary internet folder has a file namethat has file name excluding extension definately greater than 260.<br><br>Thanks,<br><br>Sachin Modak.<br>]]>
   </description>
   <pubDate>Thu, 20 Jul 2006 14:46:34 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4629&amp;PID=14259&amp;title=getname-crash-in-temp-int-files#14259</guid>
  </item> 
 </channel>
</rss>