bornintelligent / google-breakpad

Automatically exported from code.google.com/p/google-breakpad
0 stars 0 forks source link

Strengthen range checks in minidump.cc #173

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Some compilers optimize away the range checks we have in minidump.cc,
because we're working with unsigned types.  We need to rewrite these checks
in a way that ensures they'll be evaluated.

Original issue reported on code.google.com by mmento...@gmail.com on 17 May 2007 at 9:30

GoogleCodeExporter commented 9 years ago

Original comment by mmento...@gmail.com on 17 May 2007 at 9:31

Attachments:

GoogleCodeExporter commented 9 years ago
numeric_limits<> version, I like this better.

Original comment by mmento...@gmail.com on 17 May 2007 at 9:43

Attachments:

GoogleCodeExporter commented 9 years ago
Checked in, revision [173].

Original comment by mmento...@gmail.com on 21 May 2007 at 9:02