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.
1 parent d2646ca commit 50b0c34Copy full SHA for 50b0c34
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