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

William San Filippo resolved MYNEWT-119.
----------------------------------------
    Resolution: Fixed

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

Reply via email to