OSDN Git Service

Merge "Fix a long standing bug within dvmHeapSourceGetObjectBitmaps. All callers...
authorCarl Shapiro <cshapiro@google.com>
Wed, 3 Feb 2010 02:18:13 +0000 (18:18 -0800)
committerAndroid (Google) Code Review <android-gerrit@google.com>
Wed, 3 Feb 2010 02:18:13 +0000 (18:18 -0800)
commit8d88b1818096e8a57f84cc4a4a36e478ba1adb83
treee0bfca75632f10b4e346ca492f71e6d0b8d393b6
parentf497cd830793d994e8a9fbbd89d79493ef9612bc
parentddd000b91fc22fb1e85b5687545e231231351fd1
Merge "Fix a long standing bug within dvmHeapSourceGetObjectBitmaps.  All callers of this function assign the return value to an unsigned value even though this function returns -1 in the error case.  This causes the error checks to succeed in cases where it should otherwise fail. Rather than return -1 on error, I have elected to return 0 instead which just happens to be compatible with all current uses."