You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Scott Banachowski (JIRA)" <ji...@apache.org> on 2009/11/12 19:20:39 UTC

[jira] Created: (AVRO-194) c++ int encoding buffer too small

c++ int encoding buffer too small
---------------------------------

                 Key: AVRO-194
                 URL: https://issues.apache.org/jira/browse/AVRO-194
             Project: Avro
          Issue Type: Bug
          Components: c++
            Reporter: Scott Banachowski


In the worst case, the varint encoding for 64 bits can take 10 bytes.  The existing buffer was only sized 9 bytes, causing an exception when the worst case occurs.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (AVRO-194) c++ int encoding buffer too small

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

Scott Banachowski updated AVRO-194:
-----------------------------------

    Status: Patch Available  (was: Open)

> c++ int encoding buffer too small
> ---------------------------------
>
>                 Key: AVRO-194
>                 URL: https://issues.apache.org/jira/browse/AVRO-194
>             Project: Avro
>          Issue Type: Bug
>          Components: c++
>            Reporter: Scott Banachowski
>         Attachments: AVRO-194.patch
>
>
> In the worst case, the varint encoding for 64 bits can take 10 bytes.  The existing buffer was only sized 9 bytes, causing an exception when the worst case occurs.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (AVRO-194) c++ int encoding buffer too small

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

Scott Banachowski updated AVRO-194:
-----------------------------------

    Attachment: AVRO-194.patch

> c++ int encoding buffer too small
> ---------------------------------
>
>                 Key: AVRO-194
>                 URL: https://issues.apache.org/jira/browse/AVRO-194
>             Project: Avro
>          Issue Type: Bug
>          Components: c++
>            Reporter: Scott Banachowski
>         Attachments: AVRO-194.patch
>
>
> In the worst case, the varint encoding for 64 bits can take 10 bytes.  The existing buffer was only sized 9 bytes, causing an exception when the worst case occurs.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (AVRO-194) c++ int encoding buffer too small

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

Scott Banachowski updated AVRO-194:
-----------------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

Committed revision 835508.

> c++ int encoding buffer too small
> ---------------------------------
>
>                 Key: AVRO-194
>                 URL: https://issues.apache.org/jira/browse/AVRO-194
>             Project: Avro
>          Issue Type: Bug
>          Components: c++
>            Reporter: Scott Banachowski
>         Attachments: AVRO-194.patch
>
>
> In the worst case, the varint encoding for 64 bits can take 10 bytes.  The existing buffer was only sized 9 bytes, causing an exception when the worst case occurs.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.