]> sigrok.org Git - libsigrok.git/commit - src/hardware/scpi-pps/api.c
scpi-pps: fixed out-of-bounds array access...
authorFlorian Schmidt <redacted>
Wed, 8 Apr 2020 10:24:48 +0000 (12:24 +0200)
committerUwe Hermann <redacted>
Sat, 11 Apr 2020 13:52:13 +0000 (15:52 +0200)
commit8f3c77db26dece82109b386ad5ba7ea344b1ec8f
treead9b7f7971f9f759184e552930f884ca6083ebae
parentf0aec556058d3121585211d8526a0b4cc617684a
scpi-pps: fixed out-of-bounds array access...

when accessing devc->device->channels in config_list().
this array has to be accessed via the "hw_output_idx"

This fixes bug #1533.
src/hardware/scpi-pps/api.c