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

Josh Rosen updated SPARK-9364:
------------------------------
    Description: 
UnsafeExternalSorter does not properly update freeSpaceInCurrentPage, which can 
cause it to write past the end of memory pages and trigger segfaults.

UnsafeExternalRowSorter has a use-after-free bug when returning the last row 
from an iterator.

  was:UnsafeExternalSorter does not properly update {{freeSpaceInCurrentPage}}, 
which can cause it to write past the end of memory pages and trigger segfaults.


> Fix array out of bounds and use-after-free bugs in UnsafeExternalSorter 
> ------------------------------------------------------------------------
>
>                 Key: SPARK-9364
>                 URL: https://issues.apache.org/jira/browse/SPARK-9364
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 1.5.0
>            Reporter: Josh Rosen
>            Assignee: Josh Rosen
>
> UnsafeExternalSorter does not properly update freeSpaceInCurrentPage, which 
> can cause it to write past the end of memory pages and trigger segfaults.
> UnsafeExternalRowSorter has a use-after-free bug when returning the last row 
> from an iterator.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to