It's kind of ironic to have a Run-Time Check Failure #1 - A cast to a smaller data type has caused a loss of data.
Am I the only one that enables all runtime checks in Visual Studio?
I have made t...
Id #17327 | Release:
| Updated: Mar 14 at 2:18 AM by dcleblanc | Created: Jan 26 at 2:08 PM by florin_crisan
All downloads appear to contain only some xaml files:
Id #16816 | Release:
| Updated: May 7, 2014 at 8:49 PM by dcleblanc | Created: Apr 22, 2014 at 8:38 AM by sehe
Using Visual Studio 2008 , it is not possible to include the header in mixed CLR and native code because of the definition of nullptr clashes with CLR usage.
Given there is only one use of nullpt...
Id #15237 | Release:
| Updated: Feb 14, 2013 at 1:31 AM by KeithBurton | Created: May 31, 2012 at 6:58 AM by KeithBurton
I've been tracking down some integer overflows in Firefox and seem to have narrowed some of them down to the SafeInt library.
As an example, the "a = -a;" assignment at SafeInt3.hpp:2102 is somet...
Id #14278 | Release:
| Updated: Feb 14, 2013 at 1:31 AM by noloader | Created: Sep 21, 2011 at 8:32 PM by regehr
VS 2010 gives a linker error:
Error 95 error LNK2005: "bool __cdecl IntrinsicMultiplyUint64(unsigned __int64 const &,unsigned __int64 const &,unsigned __int64 *)" (?IntrinsicMultiplyUint64@@YA_NA...
Id #13029 | Release:
| Updated: Feb 14, 2013 at 1:31 AM by dcleblanc | Created: Feb 16, 2011 at 7:40 PM by kgriffs
i try to use multiply on int64_t
gcc 4.3.2 and 4.4.1 takes compile time err...
Id #8791 | Release:
| Updated: Jun 14, 2013 at 6:46 AM by dcleblanc | Created: Sep 16, 2009 at 11:11 AM by stuav
I very much enjoyed your show at http://channel9.msdn.com, together with Ale Contenti, and I'm glad to hear that SafeInt is doing so well at Microsoft.
You have clearly put a lot of e...
Id #7910 | Release:
| Updated: Feb 14, 2013 at 1:31 AM by Niels_Dekker | Created: Jun 19, 2009 at 11:03 PM by Niels_Dekker
Switch to #ifdef GNUC, suppress warnings from test rig, try seeing if we can raise warning level to -Wall.
Id #6711 | Release:
| Updated: Feb 14, 2013 at 1:31 AM by dcleblanc | Created: Dec 3, 2008 at 5:51 PM by dcleblanc
We're getting compiler errors out of anything where the return type is known and we accept SafeInt<T> op SafeInt<U>.
Id #6710 | Release:
| Updated: Feb 14, 2013 at 1:31 AM by dcleblanc | Created: Dec 3, 2008 at 5:49 PM by dcleblanc
a great piece of work you've done here, congratulations. A thing though that I'm missing are the unit tests for all that code (I'm certain you've got these). The reason I'm asking is...
Id #6609 | Release:
| Updated: Feb 14, 2013 at 1:31 AM by dcleblanc | Created: Nov 16, 2008 at 1:44 PM by Superlexx