You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@mynewt.apache.org by "Christopher Collins (JIRA)" <ji...@apache.org> on 2017/06/19 22:51:00 UTC

[jira] [Created] (MYNEWT-787) serial boot loader - newtmgr buffer overruns

Christopher Collins created MYNEWT-787:
------------------------------------------

             Summary: serial boot loader - newtmgr buffer overruns
                 Key: MYNEWT-787
                 URL: https://issues.apache.org/jira/browse/MYNEWT-787
             Project: Mynewt
          Issue Type: New Feature
      Security Level: Public (Viewable by anyone)
            Reporter: Christopher Collins
            Assignee: Christopher Collins
             Fix For: v1_1_0_rel


The serial boot loader fails to process some newtmgr commands:

1. The image list response is too large for the outgoing buffer.
2. The "new" newtmgr sends large image chunks in its image upload requests.  These chunks are too large for the serial boot loader's input buffer.

The fixes are as follows:
1. Increase the outgoing buffer size from 48 to 128.
2. Increase the incoming buffer size from 128 to 512.
3. Return an error rather than overrun the output buffer.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)