Sign in
David LeBlanc's Web Log
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
About
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search
Tags
Development
Integer Overflows
Office Crypto
Other
Secure Development
Security Misc
Vulns
Archive
Archives
December 2011
(2)
August 2010
(2)
July 2010
(1)
May 2010
(4)
April 2010
(1)
July 2009
(1)
May 2009
(1)
February 2009
(1)
January 2009
(2)
December 2008
(3)
November 2008
(2)
October 2008
(1)
September 2008
(4)
July 2008
(2)
June 2008
(2)
April 2008
(4)
March 2008
(2)
February 2008
(7)
January 2008
(7)
December 2007
(3)
November 2007
(1)
October 2007
(5)
September 2007
(3)
August 2007
(4)
July 2007
(7)
June 2007
(1)
May 2007
(3)
April 2007
(11)
March 2007
(7)
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
David LeBlanc's Web Log
Evil Compiler Tricks, and Checking for Pointer Math
Posted
over 5 years ago
by
david_leblanc
4
Comments
My favorite programming geek hobby being integer overflows, this caught my eye – "gcc silently discards some wraparound checks" http://www.kb.cert.org/vuls/id/162289 Basically, what it says is that code which looks like this: ============ snip...
David LeBlanc's Web Log
More on Checking Allocations
Posted
over 5 years ago
by
david_leblanc
2
Comments
Seems my last post met with some objections – somewhat rightfully so, as I mischaracterized one of Tom's points – he never advocated just not checking for allocations, but instead to use an allocator that has a non-returning error handler – though it...
David LeBlanc's Web Log
Checking Allocations & Potential for Int Mayhem
Posted
over 5 years ago
by
david_leblanc
1
Comments
Must be synchronicity. I started out the day with a really interesting mail from Chris Wysopal talking about how allocations can go wrong, fun with signed int math, and the new[] operator. Once I got done responding to Chris, I then notice Robert Hensing...
David LeBlanc's Web Log
More Checking for Pointer Math
Posted
over 5 years ago
by
david_leblanc
0
Comments
Someone pointed out that it isn't sufficient to check for whether the pointer math wrapped, but that we also need to check that the resulting pointer is in our buffer. They then came to the possibly erroneous conclusion that really all you had to do was...
Page 1 of 1 (4 items)