contiki/apps
Alexandru-Ioan Pop f15b86158b Check broker IP conversion. Adjust state machine accordingly
The result of converting the IP address of the broker wasn't checked. As a result, the pointer was left uninitialised and the IPv6 address used for connecting was some random data. The function now returns an error. Before connect_to_broker is called, mqtt_register is executed, which memsets conn to 0, making its state 0 (MQTT_CONN_STATE_ERROR). In order to recover from this error state, the extra check was added in the MQTT_CLIENT_STATE_NEWCONFIG state.

This was discovered using [CodeSonar](https://www.grammatech.com/products/codesonar)
2017-03-31 17:33:29 +01:00
..
about
antelope
at-master AT driver (master) and example 2016-05-15 12:19:04 +02:00
calc
cmdd
codeprop
collect-view Changed the name of the rimeaddr module to linkaddr 2014-01-29 20:12:24 +01:00
dhcp
directory
email
er-coap er-coap-observe-client: missing 'addr' parameter 2017-03-23 15:12:42 +01:00
ftp
http-post-auth
httpd-ws
ipso-objects
irc
json
mqtt Check broker IP conversion. Adjust state machine accordingly 2017-03-31 17:33:29 +01:00
netconf
oma-lwm2m Merge pull request #1677 from gebart/pr/lwm2m-instance-list 2016-09-06 16:50:11 +02:00
orchestra Orchestra: avoid a link error for nbr_routes 2017-01-19 13:55:08 +01:00
ping6
powertrace
process-list
program-handler
rest-engine squash clean up left overs 2016-07-09 10:39:23 +02:00
serial-shell
servreg-hack
shell
slip-cmd
telnet
telnetd
unit-test
webbrowser Improved dicarding of text in the HTML header. 2016-10-11 11:25:31 +02:00
webserver Add missing variable declaration 2017-03-18 14:01:10 +00:00
webserver-nano