You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Ferenc Gerlits (Jira)" <ji...@apache.org> on 2026/09/17 11:02:00 UTC

[jira] [Updated] (MINIFICPP-2890) InputStream::read (length prefixed string) length should be limited

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

Ferenc Gerlits updated MINIFICPP-2890:
--------------------------------------
    Fix Version/s: 1.1.0

> InputStream::read (length prefixed string) length should be limited
> -------------------------------------------------------------------
>
>                 Key: MINIFICPP-2890
>                 URL: https://issues.apache.org/jira/browse/MINIFICPP-2890
>             Project: Apache NiFi MiNiFi C++
>          Issue Type: Improvement
>            Reporter: Marton Szasz
>            Assignee: Marton Szasz
>            Priority: Major
>             Fix For: 1.1.0
>
>          Time Spent: 2h
>  Remaining Estimate: 0h
>
> It's used in network streams too, so theoretically a network peer could cause large allocations. In practice all of the relevant peers are trusted, but as a defense in depth measure, we should limit the max length of each string field.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)