Memory corruption in overflow in Binary*OutputStream

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Memory corruption in overflow in Binary*OutputStream

Sergey Kosarev
Hi, Igniters.
I've came across JVM crush recently. And after investigations I've found
Binary(Off)HeapOutputStream does not check correctly for overflow of the
capacity counter and can write to an unallocated memory.
Please take a look at https://issues.apache.org/jira/browse/IGNITE-14687

Best regards,
Sergey Kosarev.
Reply | Threaded
Open this post in threaded view
|

Re: Memory corruption in overflow in Binary*OutputStream

Sergey Kosarev
Hi,

Patch is ready - no blockers, please review.

Best regards,
Sergey Kosarev.


чт, 6 мая 2021 г. в 13:57, Sergey <[hidden email]>:

> Hi, Igniters.
> I've came across JVM crush recently. And after investigations I've found
> Binary(Off)HeapOutputStream does not check correctly for overflow of the
> capacity counter and can write to an unallocated memory.
> Please take a look at https://issues.apache.org/jira/browse/IGNITE-14687
>
> Best regards,
> Sergey Kosarev.
>