You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Pugachev Maxim (JIRA)" <ji...@apache.org> on 2012/05/12 12:37:48 UTC

[jira] [Created] (AVRO-1086) avro-c: Possible crash bug in deflate codec initialization

Pugachev Maxim created AVRO-1086:
------------------------------------

             Summary: avro-c: Possible crash bug in deflate codec initialization
                 Key: AVRO-1086
                 URL: https://issues.apache.org/jira/browse/AVRO-1086
             Project: Avro
          Issue Type: Bug
          Components: c
    Affects Versions: 1.6.3, 1.7.0
            Reporter: Pugachev Maxim
            Priority: Critical
         Attachments: AVRO-1086.patch

There is a possible crash bug in codec_deflate() function. If deflateInit2() or inflateInit2() will be not Z_OK, then we'll get junk pointer codec->codec_data. Next call to codec_reset() will fail.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (AVRO-1086) avro-c: Possible crash bug in deflate codec initialization

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

Pugachev Maxim updated AVRO-1086:
---------------------------------

    Status: Patch Available  (was: Open)
    
> avro-c: Possible crash bug in deflate codec initialization
> ----------------------------------------------------------
>
>                 Key: AVRO-1086
>                 URL: https://issues.apache.org/jira/browse/AVRO-1086
>             Project: Avro
>          Issue Type: Bug
>          Components: c
>    Affects Versions: 1.6.3, 1.7.0
>            Reporter: Pugachev Maxim
>            Priority: Critical
>         Attachments: AVRO-1086.patch
>
>
> There is a possible crash bug in codec_deflate() function. If deflateInit2() or inflateInit2() will be not Z_OK, then we'll get junk pointer codec->codec_data. Next call to codec_reset() will fail.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (AVRO-1086) avro-c: Possible crash bug in deflate codec initialization

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

Douglas Creager updated AVRO-1086:
----------------------------------

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

Committed to SVN
                
> avro-c: Possible crash bug in deflate codec initialization
> ----------------------------------------------------------
>
>                 Key: AVRO-1086
>                 URL: https://issues.apache.org/jira/browse/AVRO-1086
>             Project: Avro
>          Issue Type: Bug
>          Components: c
>    Affects Versions: 1.6.3, 1.7.0
>            Reporter: Pugachev Maxim
>            Priority: Critical
>             Fix For: 1.7.0
>
>         Attachments: AVRO-1086.patch
>
>
> There is a possible crash bug in codec_deflate() function. If deflateInit2() or inflateInit2() will be not Z_OK, then we'll get junk pointer codec->codec_data. Next call to codec_reset() will fail.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (AVRO-1086) avro-c: Possible crash bug in deflate codec initialization

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

Pugachev Maxim updated AVRO-1086:
---------------------------------

    Attachment: AVRO-1086.patch

Patch for this issue
                
> avro-c: Possible crash bug in deflate codec initialization
> ----------------------------------------------------------
>
>                 Key: AVRO-1086
>                 URL: https://issues.apache.org/jira/browse/AVRO-1086
>             Project: Avro
>          Issue Type: Bug
>          Components: c
>    Affects Versions: 1.6.3, 1.7.0
>            Reporter: Pugachev Maxim
>            Priority: Critical
>         Attachments: AVRO-1086.patch
>
>
> There is a possible crash bug in codec_deflate() function. If deflateInit2() or inflateInit2() will be not Z_OK, then we'll get junk pointer codec->codec_data. Next call to codec_reset() will fail.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira