digitalmars.D - Integer overflow bug in windows
- Kagamin (1/1) Nov 09 2011 http://blogs.technet.com/b/srd/archive/2011/11/08/assessing-the-exploita...
- Marco Leise (2/3) Nov 09 2011 Solution: upgrade all computers to 64-bit
- Kagamin (2/7) Nov 09 2011 In windows ULONG is used for reference count, which is still 32-bit on 6...
- Kagamin (1/4) Nov 09 2011 Although 32-bit counter may prove to be inadequate for 64-bit address sp...
- Marco Leise (3/9) Nov 10 2011 I was only half serious about that ;) Clearly they had a bug with their ...
- bearophile (4/5) Nov 09 2011 I'd like a runtime error when an integral overflows (unsigned numbers to...
- =?ISO-8859-1?Q?Alex_R=F8nne_Petersen?= (4/9) Nov 09 2011 If anything, we should do it like C#: have checked/unchecked arithmetic
- Marco Leise (24/38) Nov 10 2011 oitability-of-ms11-083.aspx
http://blogs.technet.com/b/srd/archive/2011/11/08/assessing-the-exploitability-of-ms11-083.aspx
Nov 09 2011
Am 09.11.2011, 22:34 Uhr, schrieb Kagamin <spam here.lot>:http://blogs.technet.com/b/srd/archive/2011/11/08/assessing-the-exploitability-of-ms11-083.aspxSolution: upgrade all computers to 64-bit
Nov 09 2011
Marco Leise Wrote:Am 09.11.2011, 22:34 Uhr, schrieb Kagamin <spam here.lot>:In windows ULONG is used for reference count, which is still 32-bit on 64-bit system.http://blogs.technet.com/b/srd/archive/2011/11/08/assessing-the-exploitability-of-ms11-083.aspxSolution: upgrade all computers to 64-bit
Nov 09 2011
Although 32-bit counter may prove to be inadequate for 64-bit address space.Solution: upgrade all computers to 64-bitIn windows ULONG is used for reference count, which is still 32-bit on 64-bit system.
Nov 09 2011
Am 10.11.2011, 05:21 Uhr, schrieb Kagamin <spam here.lot>:I was only half serious about that ;) Clearly they had a bug with their reference counter not decrementing in a certain situation.Although 32-bit counter may prove to be inadequate for 64-bit address space.Solution: upgrade all computers to 64-bitIn windows ULONG is used for reference count, which is still 32-bit on 64-bit system.
Nov 10 2011
Kagamin:http://blogs.technet.com/b/srd/archive/2011/11/08/assessing-the-exploitability-of-ms11-083.aspxI'd like a runtime error when an integral overflows (unsigned numbers too, the C99 Standard is not a religion book for me), unless where asked otherwise. Bye, bearophile
Nov 09 2011
On 09-11-2011 23:49, bearophile wrote:Kagamin:blocks. - Alexhttp://blogs.technet.com/b/srd/archive/2011/11/08/assessing-the-exploitability-of-ms11-083.aspxI'd like a runtime error when an integral overflows (unsigned numbers too, the C99 Standard is not a religion book for me), unless where asked otherwise. Bye, bearophile
Nov 09 2011
Am 10.11.2011, 00:07 Uhr, schrieb Alex R=C3=B8nne Petersen = <xtzgzorex gmail.com>:On 09-11-2011 23:49, bearophile wrote:oitability-of-ms11-083.aspxKagamin:http://blogs.technet.com/b/srd/archive/2011/11/08/assessing-the-expl==I'd like a runtime error when an integral overflows (unsigned numbers=too, the C99 Standard is not a religion book for me), unless where =c =asked otherwise. Bye, bearophileblocks. - AlexI know that the article was meant to start this discussion, but no check= ed = arithmetic could have found this bug while debugging. And if it the chec= k = is kept even in release mode - which is untypical for asserts - the = question is, if an exception or termination of the program would have be= en = handled gracefully. On the other hand I wouldn't mind checked arithmetic, especially since = there are assembly instructions like JO. Could this also be used to = execute a different branch when an overflow occurs? I mean: Would some = code become faster and cleaner? I am so used to not having any checking = = that I cannot remember any such cases from the top of my head. In any case blocks are the way to go, because the overflow flag is = manipulated by too many instructions as to just write "if (overflow()) = {...}" after a statement. I don't know if we always want an Exception as= =
Nov 10 2011