Closed vs49688 closed 1 year ago
Passing a pointer to BrDevBeginVar() on 64-bit systems causes explosions.
BrDevBeginVar()
for(i = 0, n = BR_NULL_TOKEN;; i++) { if (i == BR_ASIZE(tv)) BR_FAILURE("Too many token value pairs"); if ((n = va_arg(vl, int)) == BR_NULL_TOKEN) break; *((int *)&tv[i].t) = n; n = va_arg(vl, int); *((int *)&tv[i].v.u32) = n; }
Passing a pointer to
BrDevBeginVar()
on 64-bit systems causes explosions.