You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@orc.apache.org by "Gang Wu (Jira)" <ji...@apache.org> on 2023/03/16 09:30:00 UTC

[jira] [Closed] (ORC-496) [C++] Fix integer overflow in skip of column reader

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

Gang Wu closed ORC-496.
-----------------------
    Resolution: Fixed

> [C++] Fix integer overflow in skip of column reader
> ---------------------------------------------------
>
>                 Key: ORC-496
>                 URL: https://issues.apache.org/jira/browse/ORC-496
>             Project: ORC
>          Issue Type: Bug
>          Components: C++
>            Reporter: Gang Wu
>            Assignee: Gang Wu
>            Priority: Major
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> skip() function is the StringDirectColumnReader and DoubleColumnReader use size_t to compute total size to skip; however, the value is casted to int when calling underlying
> input stream.



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