summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarl Shapiro <cshapiro@google.com>2010-02-02 13:47:59 -0800
committerCarl Shapiro <cshapiro@google.com>2010-02-02 15:01:23 -0800
commit74776406c16173abf8a04c49206dbe5a3bf2c181 (patch)
tree5a4044fcb1a25e1197c494dbcc5eec034017eaf6
parent4a3e29da4a49ed51018ce26b422155d8c682bf4e (diff)
downloadlibcore-74776406c16173abf8a04c49206dbe5a3bf2c181.zip
libcore-74776406c16173abf8a04c49206dbe5a3bf2c181.tar.gz
libcore-74776406c16173abf8a04c49206dbe5a3bf2c181.tar.bz2
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.
0 files changed, 0 insertions, 0 deletions