the original varbindlist's index. In the case of a GetBulkRequest this
must never be larger than the length of the original varbindlist.
OK tb@
-/* $OpenBSD: application.c,v 1.36 2023/11/12 16:07:34 martijn Exp $ */
+/* $OpenBSD: application.c,v 1.37 2023/11/13 10:14:29 martijn Exp $ */
/*
* Copyright (c) 2021 Martijn van Duren <martijn@openbsd.org>
ureq->aru_vblist[i - repeaterlen].avi_sub =
&(ureq->aru_vblist[i]);
ureq->aru_vblist[i].avi_state = APPL_VBSTATE_MUSTFILL;
+ ureq->aru_vblist[i].avi_index =
+ ureq->aru_vblist[i - repeaterlen].avi_index;
continue;
}
ober_get_oid(varbind->be_sub,