You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@orc.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/02/06 22:16:00 UTC

[jira] [Commented] (ORC-273) Bad memory access in TypeImpl::parseType

    [ https://issues.apache.org/jira/browse/ORC-273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16354635#comment-16354635 ] 

ASF GitHub Bot commented on ORC-273:
------------------------------------

Github user xndai commented on the issue:

    https://github.com/apache/orc/pull/214
  
    LGTM.


> Bad memory access in TypeImpl::parseType
> ----------------------------------------
>
>                 Key: ORC-273
>                 URL: https://issues.apache.org/jira/browse/ORC-273
>             Project: ORC
>          Issue Type: Bug
>            Reporter: rip.nsk
>            Assignee: rip.nsk
>            Priority: Major
>         Attachments: 010-TypeImpl.patch
>
>
> TypeImpl::parseType can access bad memory (types[nextPos]) for some inputs (for example "map<boolean,float>"), due to missed range checks (nextPos < types.size()).
> immediate fix for example is attached, but not all possible cases are covered..



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)