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/03/04 22:23:45 UTC

[jira] [Created] (MYNEWT-654) datetime command may crash device

Christopher Collins created MYNEWT-654:
------------------------------------------

             Summary: datetime command may crash device
                 Key: MYNEWT-654
                 URL: https://issues.apache.org/jira/browse/MYNEWT-654
             Project: Mynewt
          Issue Type: Bug
            Reporter: Christopher Collins
            Assignee: Christopher Collins
             Fix For: v1_0_0_rel


There are two issues here:

1. newtmgr tool always includes an extraneous rc:0 key-value pair in its outgoing datetime commands.

2. Server-side, the firmware parses the "rc" value and writes the result to null.

The solutions are:
1. Remove the rc entry from the datetime request.
2. Don't attempt to parse the rc entry in incoming requests.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)