You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@mynewt.apache.org by "Aditi Hilbert (JIRA)" <ji...@apache.org> on 2016/03/15 00:33:34 UTC

[jira] [Closed] (MYNEWT-119) Nimble stack crashing if PHY receives a PDU that is 257 bytes long.

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

Aditi Hilbert closed MYNEWT-119.
--------------------------------

> Nimble stack crashing if PHY receives a PDU that is 257 bytes long.
> -------------------------------------------------------------------
>
>                 Key: MYNEWT-119
>                 URL: https://issues.apache.org/jira/browse/MYNEWT-119
>             Project: Mynewt
>          Issue Type: Bug
>          Components: Nimble
>    Affects Versions: v0_8_0_beta1
>            Reporter: William San Filippo
>            Assignee: William San Filippo
>            Priority: Blocker
>              Labels: controller, mbuf
>             Fix For: v0_8_0_beta2
>
>
> There is a bug in the code which will cause the device to crash if it receives a mbuf that is too large. Unfortunately I dont have a debug output of the crash but we could obtain one if we think it is necessary. Running the un-fixed code in a noisy environment with lots of simultaneous connections should reproduce it eventually.
> This problem was caused when we moved the controller code to use msys mbufs. The buffer was not sized properly as the PHY still needs a flat buffer to receive into and since the PHY currently uses mbufs, these mbufs need to accommodate at least 257 bytes of data (they only had 256 bytes).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)