commit | 44a3484d9ba75aa88c0f3187a9c0ef56e892771b | [log] [tgz] |
---|---|---|
author | Andy McFadden <fadden@android.com> | Thu Apr 30 13:25:59 2009 -0700 |
committer | Andy McFadden <fadden@android.com> | Thu Apr 30 13:29:00 2009 -0700 |
tree | ca237c514625d85fb1ad28c8139ccf85ba0c5810 | |
parent | 50f46fdcf99609da579d08668fe4d3d05aaf6c0c [diff] |
Changed the way we check the magic number in guard pages. Use memcmp instead of "==" so that, if the pointer is unaligned on a platform where alignment matters, we fail with a nice warning instead of a bus error. Found while tracking down bug 1823434.