commit | bc03380a9d5565cdef0c4b4c41fdd19813b05799 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Tue Jul 16 20:45:54 2013 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Tue Jul 16 20:45:54 2013 +0000 |
tree | 4cb8d6dc3f370eb60457aea525bd14951cb23c14 | |
parent | 93c3b11ea6bcc25e8f0bb6ba701c71ed05906b52 [diff] | |
parent | 75978b1e139da312515ec07022d47ac615615d1b [diff] |
Merge "Remove an assertion that JDWP packets are small."
diff --git a/vm/jdwp/JdwpHandler.cpp b/vm/jdwp/JdwpHandler.cpp index 9126584..112ac4a 100644 --- a/vm/jdwp/JdwpHandler.cpp +++ b/vm/jdwp/JdwpHandler.cpp
@@ -1702,7 +1702,6 @@ * heap requirements is probably more valuable than the efficiency. */ if (dvmDbgDdmHandlePacket(buf, dataLen, &replyBuf, &replyLen)) { - assert(replyLen > 0 && replyLen < 1*1024*1024); memcpy(expandBufAddSpace(pReply, replyLen), replyBuf, replyLen); free(replyBuf); }