qpid-proton mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Stitcher (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (PROTON-590) If Proton receives a frame with an unexpected performative number it will SEGV
Date Tue, 03 Jun 2014 20:46:02 GMT

     [ https://issues.apache.org/jira/browse/PROTON-590?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andrew Stitcher resolved PROTON-590.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 0.8

> If Proton receives a frame with an unexpected performative number it will SEGV
> ------------------------------------------------------------------------------
>
>                 Key: PROTON-590
>                 URL: https://issues.apache.org/jira/browse/PROTON-590
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: proton-c
>    Affects Versions: 0.7
>            Reporter: Andrew Stitcher
>            Assignee: Andrew Stitcher
>             Fix For: 0.8
>
>
> The processing for incoming frames dispatches based in the integer number of the performative.
To do this it uses a table which is initially zero filled.
> On initialising a connection it fills out the table entries for performatives that it
can handle, but leaves the others zero.
> On an incoming frame it will call the routine in the table entry without checking if
it is zero. So if it gets an unrecognised performative integer it will call through a zero
pointer causing a SEGV.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message