orc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "rip.nsk (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ORC-273) Bad memory access in TypeImpl::parseType
Date Wed, 06 Dec 2017 00:58:00 GMT
rip.nsk created ORC-273:
---------------------------

             Summary: 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
         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
(v6.4.14#64029)

Mime
View raw message