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

Joerg Hoh updated SLING-11471:
------------------------------
    Description: 
During SLING-11468 we found a situation in the JcrPropertyMapCacheEntry where 
data is read from an input stream into memory and stored within a String.
The size of data to be read is unbound and it can cause a memory problem. For 
this reason we should implement log warnings, when more than 100k/1M/10M/100M 
bytes are read from this input stream.






  was:
During SLING-11468 we found a case where data is read from an input stream into 
memory and stored within a String.
The size of data to be read is unbound and it can cause a memory problem. For 
this reason we should implement log warnings, when more than 100k/1M/10M/100M 
bytes are read from this input stream.







> warn when reading large amount of data from inputstream into memory
> -------------------------------------------------------------------
>
>                 Key: SLING-11471
>                 URL: https://issues.apache.org/jira/browse/SLING-11471
>             Project: Sling
>          Issue Type: Task
>          Components: JCR
>    Affects Versions: JCR Resource 3.2.0
>            Reporter: Joerg Hoh
>            Priority: Major
>
> During SLING-11468 we found a situation in the JcrPropertyMapCacheEntry where 
> data is read from an input stream into memory and stored within a String.
> The size of data to be read is unbound and it can cause a memory problem. For 
> this reason we should implement log warnings, when more than 100k/1M/10M/100M 
> bytes are read from this input stream.



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

Reply via email to