I think this one speaks for itself.
OK?
martijn@
? obj
Index: application_agentx.c
===================================================================
RCS file: /cvs/src/usr.sbin/snmpd/application_agentx.c,v
retrieving revision 1.2
diff -u -p -r1.2 application_agentx.c
--- application_agentx.c 29 Aug 2022 18:10:48 -0000 1.2
+++ application_agentx.c 30 Aug 2022 14:49:52 -0000
@@ -660,7 +660,7 @@ appl_agentx_getnext(struct appl_backend
srl[i].asr_start.aoi_id[j] = vb->av_oid.bo_id[j];
srl[i].asr_stop.aoi_include = 0;
srl[i].asr_stop.aoi_idlen = vb->av_oid_end.bo_n;
- for (j = 0; j < vb->av_oid.bo_n; j++)
+ for (j = 0; j < vb->av_oid_end.bo_n; j++)
srl[i].asr_stop.aoi_id[j] = vb->av_oid_end.bo_id[j];
}
if ((context = appl_agentx_string2ostring(ctx, &string)) == NULL) {