Commit 90e87e30 authored by Nils Goroll's avatar Nils Goroll

Assert that literal vxids we parse never have the client/server bit set

This is an additional safeguard against regressions of #1762
parent 4ef5ae57
......@@ -700,6 +700,7 @@ vtx_parse_link(const char *str, enum VSL_transaction_e *ptype,
*ptype = VSL_t_unknown;
if (i == 1)
return (1);
assert((vxid & ~VSL_IDENTMASK) == 0);
*pvxid = vxid;
if (i == 2)
return (2);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment