Closed mdavidsaver closed 6 years ago
At a first glance I would say off by 1.
Dirk
Am 08.12.2017 um 18:45 schrieb mdavidsaver notifications@github.com<mailto:notifications@github.com>:
This line was brought to my attention. It, and the following loop, look like a guaranteed out of bounds access to BPTR.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/paulscherrerinstitute/StreamDevice/issues/6, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AMRD36vKzrnSNYuIUMjYfrMroV05oY3Lks5s-XWdgaJpZM4Q7bS_.
Fixed in commit 2a1f53a07affc50ecabc36beb9439d68f2158faa
This line was brought to my attention. It, and the following loop, look like a guaranteed out of bounds access to BPTR.
https://github.com/paulscherrerinstitute/StreamDevice/blob/836388cd2295fcd359da70ffe8020687598157ec/src/devwaveformStream.c#L118