<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Whidbey's Secure CRT</title><link>http://blogs.msdn.com/b/shawnfa/archive/2004/04/08/110097.aspx</link><description>One of the features that the Whidbey release of Visual C++ is going to bring is the new Secure CRT. The C++ library team has put a lot of work into creating safe alternatives to the old C runtime library functions that seem to always be behind security</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>Secure CRT</title><link>http://blogs.msdn.com/b/shawnfa/archive/2004/04/08/110097.aspx#564515</link><pubDate>Thu, 30 Mar 2006 07:07:35 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:564515</guid><dc:creator>Michał Cierniak</dc:creator><description>One of the cool new things we are doing in the security push is the conversion of all uses of potentially...&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=564515" width="1" height="1"&gt;</description></item><item><title>What is Microsoft doing for security?</title><link>http://blogs.msdn.com/b/shawnfa/archive/2004/04/08/110097.aspx#452456</link><pubDate>Wed, 17 Aug 2005 05:32:50 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:452456</guid><dc:creator>Office Development, Security, Randomness...</dc:creator><description>&lt;br&gt;    &lt;br&gt;      &lt;br&gt;        A recent comment on the IE Blog made it pretty apparent that not everybody is aware...&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=452456" width="1" height="1"&gt;</description></item><item><title>'A truck the size of Sun's Java runtime environment'</title><link>http://blogs.msdn.com/b/shawnfa/archive/2004/04/08/110097.aspx#367558</link><pubDate>Sat, 05 Feb 2005 06:37:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:367558</guid><dc:creator>Alex Campbell</dc:creator><description>&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=367558" width="1" height="1"&gt;</description></item><item><title>re: Whidbey's Secure CRT</title><link>http://blogs.msdn.com/b/shawnfa/archive/2004/04/08/110097.aspx#111943</link><pubDate>Tue, 13 Apr 2004 00:53:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:111943</guid><dc:creator>Shawn</dc:creator><description>John McCormick's written a column on builder.com that points out these new features as well.  You can find it here: &lt;a target="_new" href="http://builder.com.com/5100-6370-5185809.html"&gt;http://builder.com.com/5100-6370-5185809.html&lt;/a&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=111943" width="1" height="1"&gt;</description></item><item><title>re: Whidbey's Secure CRT</title><link>http://blogs.msdn.com/b/shawnfa/archive/2004/04/08/110097.aspx#110522</link><pubDate>Fri, 09 Apr 2004 17:56:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:110522</guid><dc:creator>Shawn</dc:creator><description>&amp;gt; Does this mean that existing Microsoft's CRT doesn't check all input parameters?&lt;br&gt;&lt;br&gt;That's correct, but its not just Microsoft's CRT.  C libraries assume that all parameters passed into them are valid.  If you use GCC and GLIBC, pass null into printf and see what happens, you'll segfault.  Even if they wanted to, due to function signatures it'd be impossible for CRT implementers to check all parameters.  For instance, how can strcat check that the output buffer is big enough?&lt;br&gt;&lt;br&gt;&amp;gt; And the fix to that problem is not to fix the code but rather create new one?&lt;br&gt;&lt;br&gt;Again, fixing the code would break compatiblity with the C standard library.  strcpy simply cannot check its output parameters. &lt;br&gt;&lt;br&gt;&amp;gt; Microsoft already came up with StrSafe.h, does this mean that they will keep coming up and abandoning code every couple years or so?&lt;br&gt;&lt;br&gt;StrSafe was developed during our security push in 2002.  It's still a valid and supported library, and will be shipped with Whibey as well.  However StrSafe only fixed the C library string functions.  The new Secure CRT improves many other C library functions (such as printf and calloc).  It also improves the C++ library.&lt;br&gt;&lt;br&gt;&amp;gt; Microsoft felt like they need to come up with something that isn't so they can yet again lock code onto their platforms. &lt;br&gt;&lt;br&gt;As I mention in my post, the secure CRT has been submitted for standardization.  See  &lt;a target="_new" href="http://std.dkuug.dk/jtc1/sc22/wg14/www/docs/n1031.pdf"&gt;http://std.dkuug.dk/jtc1/sc22/wg14/www/docs/n1031.pdf&lt;/a&gt; for details.&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=110522" width="1" height="1"&gt;</description></item><item><title>Security changes in VS2005 CRT</title><link>http://blogs.msdn.com/b/shawnfa/archive/2004/04/08/110097.aspx#110270</link><pubDate>Fri, 09 Apr 2004 09:16:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:110270</guid><dc:creator>SiM Weblog</dc:creator><description>&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=110270" width="1" height="1"&gt;</description></item><item><title>re: Whidbey's Secure CRT</title><link>http://blogs.msdn.com/b/shawnfa/archive/2004/04/08/110097.aspx#110184</link><pubDate>Fri, 09 Apr 2004 02:47:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:110184</guid><dc:creator>Jerry Pisk</dc:creator><description>Does this mean that existing Microsoft's CRT doesn't check all input parameters? And the fix to that problem is not to fix the code but rather create new one? As for the rest - Microsoft already came up with StrSafe.h, does this mean that they will keep coming up and abandoning code every couple years or so? It's probably that StrSafe.h was portable, so Microsoft felt like they need to come up with something that isn't so they can yet again lock code onto their platforms.&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=110184" width="1" height="1"&gt;</description></item><item><title>'Whidbey's Secure CRT'</title><link>http://blogs.msdn.com/b/shawnfa/archive/2004/04/08/110097.aspx#110120</link><pubDate>Fri, 09 Apr 2004 02:01:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:110120</guid><dc:creator>Yves Dolce</dc:creator><description>&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=110120" width="1" height="1"&gt;</description></item></channel></rss>