You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Lucas Martin-King (JIRA)" <ji...@apache.org> on 2012/09/13 04:45:07 UTC

[jira] [Created] (AVRO-1158) Avro-C: Infinite Loop in Deflate Codec Decompression

Lucas Martin-King created AVRO-1158:
---------------------------------------

             Summary: Avro-C: Infinite Loop in Deflate Codec Decompression
                 Key: AVRO-1158
                 URL: https://issues.apache.org/jira/browse/AVRO-1158
             Project: Avro
          Issue Type: Bug
          Components: c
    Affects Versions: 1.7.1
            Reporter: Lucas Martin-King


If an avro datafile contains corrupted or incomplete deflate data in a block, the deflate codec can go into an infinite loop as we do not check if inflation only partially occurred.

 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (AVRO-1158) Avro-C: Infinite Loop in Deflate Codec Decompression

Posted by "Douglas Creager (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AVRO-1158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Douglas Creager updated AVRO-1158:
----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.7.2
           Status: Resolved  (was: Patch Available)

Looks good.  Merged into SVN.
                
> Avro-C: Infinite Loop in Deflate Codec Decompression
> ----------------------------------------------------
>
>                 Key: AVRO-1158
>                 URL: https://issues.apache.org/jira/browse/AVRO-1158
>             Project: Avro
>          Issue Type: Bug
>          Components: c
>    Affects Versions: 1.7.1
>            Reporter: Lucas Martin-King
>              Labels: codec, deflate
>             Fix For: 1.7.2
>
>         Attachments: codec_deflate_fixes.patch
>
>
> If an avro datafile contains corrupted or incomplete deflate data in a block, the deflate codec can go into an infinite loop as we do not check if inflation only partially occurred.
>  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (AVRO-1158) Avro-C: Infinite Loop in Deflate Codec Decompression

Posted by "Lucas Martin-King (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AVRO-1158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lucas Martin-King updated AVRO-1158:
------------------------------------

    Status: Patch Available  (was: Open)
    
> Avro-C: Infinite Loop in Deflate Codec Decompression
> ----------------------------------------------------
>
>                 Key: AVRO-1158
>                 URL: https://issues.apache.org/jira/browse/AVRO-1158
>             Project: Avro
>          Issue Type: Bug
>          Components: c
>    Affects Versions: 1.7.1
>            Reporter: Lucas Martin-King
>              Labels: codec, deflate
>         Attachments: codec_deflate_fixes.patch
>
>
> If an avro datafile contains corrupted or incomplete deflate data in a block, the deflate codec can go into an infinite loop as we do not check if inflation only partially occurred.
>  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (AVRO-1158) Avro-C: Infinite Loop in Deflate Codec Decompression

Posted by "Lucas Martin-King (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AVRO-1158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lucas Martin-King updated AVRO-1158:
------------------------------------

    Attachment: codec_deflate_fixes.patch

This patch is placed into the public domain by Experian Hitwise Pty. Ltd.
                
> Avro-C: Infinite Loop in Deflate Codec Decompression
> ----------------------------------------------------
>
>                 Key: AVRO-1158
>                 URL: https://issues.apache.org/jira/browse/AVRO-1158
>             Project: Avro
>          Issue Type: Bug
>          Components: c
>    Affects Versions: 1.7.1
>            Reporter: Lucas Martin-King
>              Labels: codec, deflate
>         Attachments: codec_deflate_fixes.patch
>
>
> If an avro datafile contains corrupted or incomplete deflate data in a block, the deflate codec can go into an infinite loop as we do not check if inflation only partially occurred.
>  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (AVRO-1158) Avro-C: Infinite Loop in Deflate Codec Decompression

Posted by "Lucas Martin-King (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AVRO-1158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lucas Martin-King updated AVRO-1158:
------------------------------------

    Attachment:     (was: codec_deflate_fixes.patch)
    
> Avro-C: Infinite Loop in Deflate Codec Decompression
> ----------------------------------------------------
>
>                 Key: AVRO-1158
>                 URL: https://issues.apache.org/jira/browse/AVRO-1158
>             Project: Avro
>          Issue Type: Bug
>          Components: c
>    Affects Versions: 1.7.1
>            Reporter: Lucas Martin-King
>              Labels: codec, deflate
>         Attachments: codec_deflate_fixes.patch
>
>
> If an avro datafile contains corrupted or incomplete deflate data in a block, the deflate codec can go into an infinite loop as we do not check if inflation only partially occurred.
>  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (AVRO-1158) Avro-C: Infinite Loop in Deflate Codec Decompression

Posted by "Lucas Martin-King (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AVRO-1158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lucas Martin-King updated AVRO-1158:
------------------------------------

    Attachment: codec_deflate_fixes.patch

Patch resolving the issue.
                
> Avro-C: Infinite Loop in Deflate Codec Decompression
> ----------------------------------------------------
>
>                 Key: AVRO-1158
>                 URL: https://issues.apache.org/jira/browse/AVRO-1158
>             Project: Avro
>          Issue Type: Bug
>          Components: c
>    Affects Versions: 1.7.1
>            Reporter: Lucas Martin-King
>              Labels: codec, deflate
>         Attachments: codec_deflate_fixes.patch
>
>
> If an avro datafile contains corrupted or incomplete deflate data in a block, the deflate codec can go into an infinite loop as we do not check if inflation only partially occurred.
>  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira