You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Marton Szasz (Jira)" <ji...@apache.org> on 2021/02/02 15:21:01 UTC

[jira] [Updated] (MINIFICPP-1470) Avoid OOB indexing in ByteInputCallback

     [ https://issues.apache.org/jira/browse/MINIFICPP-1470?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marton Szasz updated MINIFICPP-1470:
------------------------------------
    Fix Version/s: 0.9.0

> Avoid OOB indexing in ByteInputCallback
> ---------------------------------------
>
>                 Key: MINIFICPP-1470
>                 URL: https://issues.apache.org/jira/browse/MINIFICPP-1470
>             Project: Apache NiFi MiNiFi C++
>          Issue Type: Improvement
>            Reporter: Marton Szasz
>            Priority: Major
>             Fix For: 0.9.0
>
>
> There have been crash reports in debug builds on Windows. It seems to be caused by taking the address of the element after the last one. This may be OK, but {{ &vec[n] }} should be replaced with {{ vec.data() + n }}. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)