mirror of
https://github.com/zeek/zeek.git
synced 2025-10-01 22:28:20 +00:00
fixup! fixes for (mostly ZAM) vector operation issues found by ASAN
This commit is contained in:
parent
a2a47ba334
commit
84e46565a0
1 changed files with 2 additions and 1 deletions
|
@ -622,7 +622,8 @@ static void vec_exec(ZOp op, TypePtr t, VectorVal*& v1, const VectorVal* v2, con
|
|||
auto n = vec2.size();
|
||||
|
||||
if ( vec3.size() != n ) {
|
||||
ZAM_run_time_error(util::fmt("vector operands are of different sizes (%d vs. %d)", int(n), int(vec3.size())));
|
||||
ZAM_run_time_error(z.loc,
|
||||
util::fmt("vector operands are of different sizes (%d vs. %d)", int(n), int(vec3.size())));
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue