You are viewing a plain text version of this content. The canonical link for it is here.
Posted to proton@qpid.apache.org by "Ken Giusti (JIRA)" <ji...@apache.org> on 2012/10/17 04:10:03 UTC

[jira] [Created] (PROTON-80) Codec should respect the const-ness of the input buffer.

Ken Giusti created PROTON-80:
--------------------------------

             Summary: Codec should respect the const-ness of the input buffer.
                 Key: PROTON-80
                 URL: https://issues.apache.org/jira/browse/PROTON-80
             Project: Qpid Proton
          Issue Type: Improvement
          Components: proton-c
            Reporter: Ken Giusti
            Assignee: Ken Giusti
            Priority: Blocker


The method should not modify the caller's data buffer.

--
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] [Commented] (PROTON-80) Codec should respect the const-ness of the input buffer.

Posted by "Ken Giusti (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PROTON-80?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13477542#comment-13477542 ] 

Ken Giusti commented on PROTON-80:
----------------------------------

The internals (implementation) of codec casts away the constness of the input buffer.  That is dangerous and should be fixed.
                
> Codec should respect the const-ness of the input buffer.
> --------------------------------------------------------
>
>                 Key: PROTON-80
>                 URL: https://issues.apache.org/jira/browse/PROTON-80
>             Project: Qpid Proton
>          Issue Type: Improvement
>          Components: proton-c
>            Reporter: Ken Giusti
>            Assignee: Ken Giusti
>            Priority: Minor
>
> The method should not modify the caller's data buffer.

--
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] (PROTON-80) Codec should respect the const-ness of the input buffer.

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

Ken Giusti updated PROTON-80:
-----------------------------

    Priority: Minor  (was: Blocker)
    
> Codec should respect the const-ness of the input buffer.
> --------------------------------------------------------
>
>                 Key: PROTON-80
>                 URL: https://issues.apache.org/jira/browse/PROTON-80
>             Project: Qpid Proton
>          Issue Type: Improvement
>          Components: proton-c
>            Reporter: Ken Giusti
>            Assignee: Ken Giusti
>            Priority: Minor
>
> The method should not modify the caller's data buffer.

--
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