We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d87eaf3 + 50b0c34 commit e1550dcCopy full SHA for e1550dc
lldb/include/lldb/Core/Opcode.h
@@ -211,7 +211,7 @@ class Opcode {
211
if (bytes != nullptr && length > 0) {
212
m_type = type;
213
m_data.inst.length = length;
214
- assert(length < sizeof(m_data.inst.bytes));
+ assert(length <= sizeof(m_data.inst.bytes));
215
memcpy(m_data.inst.bytes, bytes, length);
216
m_byte_order = order;
217
} else {
0 commit comments