zephyr/samples/net
Leandro Pereira 7cfd5a4184 samples: net: hrpl_border_router: Fix NULL pointer dereference
Null-checking `pkt` before making a call to net_pkt_unref() suggests
that it might be NULL, but the pointer is dereferenced before it's
checked.  Perform the check at the beginning of the function and
dereference and drop its reference unconditionally afterwards.

Coverity-ID: 178789
Signed-off-by: Leandro Pereira <leandro.pereira@intel.com>
2018-06-08 13:07:19 -05:00
..
coap_client samples: net: Fix coap-client sample 2018-05-22 08:54:54 -04:00
coap_server samples: net: Remove unwanted code from coap-server 2018-05-22 08:54:54 -04:00
coaps_client mbedtls: Replace COAP-specific max len setting with generic 2018-03-18 09:38:22 -07:00
coaps_server mbedtls: Replace COAP-specific max len setting with generic 2018-03-18 09:38:22 -07:00
common gpio: Refactor the mcux gpio driver to use dts 2018-04-20 08:54:11 -05:00
dhcpv4_client samples: net: Fix sanitycheck for sam_e70_xplained board 2018-04-05 08:25:49 -04:00
dns_resolve samples: net: dns_resolver: Add config options for tests 2018-05-14 17:22:27 -04:00
echo_client net: ieee802154: Remove old cc2520 AUTO_ACK assignments 2018-05-25 11:20:37 -04:00
echo_server samples: echo_server: Remove conflicting option from conf file 2018-05-26 08:27:16 -04:00
eth_native_posix doc: fix doc misspellings in doc, boards, samples 2018-04-05 19:17:01 -04:00
http_client samples: net: https-client: Increasing main stack size 2018-05-03 08:55:58 +03:00
http_server samples: net: Add test cases for USB EEM 2018-04-06 06:50:34 -04:00
irc_bot samples: net: Remove undefined references to CONFIG_NET_LOG_ENABLED 2018-05-23 12:10:38 -04:00
leds_demo samples: leds_demo: depend on netif and gpio 2018-05-16 23:10:30 +03:00
lwm2m_client net: lwm2m: mark OPTIONAL resources for LwM2M Device 2018-05-16 10:56:07 +03:00
mbedtls_dtlsclient cmake: Ported mbedTLS to use Zephyr interface libraries 2018-01-02 22:09:01 -05:00
mbedtls_dtlsserver samples: mbedTLS server: Remove CONFIG_NET_SLIP_TAP assignment 2018-05-25 17:21:31 -04:00
mbedtls_sslclient samples: net: mbedtls_sslclient: Fix prj.conf file 2018-05-15 17:11:56 +03:00
mdns_responder samples: bluetooth and net samples need test setup 2017-12-28 20:24:29 -05:00
mqtt_publisher samples: net: mqtt: Remove CONFIG_BT_MAX_CMD_LEN assignment 2018-05-23 13:10:26 -04:00
nats samples: net: Check the return value of nats_publish 2018-06-06 16:06:39 -05:00
rpl_border_router samples: net: hrpl_border_router: Fix NULL pointer dereference 2018-06-08 13:07:19 -05:00
rpl_node samples: net: rpl: Add observer support to node application 2018-05-17 16:25:49 +03:00
rpl-mesh-qemu sample: net: RPL mesh sample over QEMU 2018-02-20 14:47:14 +02:00
sntp_client samples: bluetooth and net samples need test setup 2017-12-28 20:24:29 -05:00
sockets samples: net: dumb_http_server: Handle recv() errors 2018-06-08 13:07:19 -05:00
stats kconfig: Remove remaining 'option env' bounce symbols 2018-05-28 17:21:11 -04:00
syslog_net samples: net: Fix sanitycheck for sam_e70_xplained board 2018-04-05 08:25:49 -04:00
telnet samples: telnet: fix net mgmt event handler 2018-04-12 10:35:10 +03:00
throughput_server net: samples: throughput_server: Decrease buffer count 2018-02-10 09:20:42 +02:00
traffic_class kconfig: Remove remaining 'option env' bounce symbols 2018-05-28 17:21:11 -04:00
vlan kconfig: Remove remaining 'option env' bounce symbols 2018-05-28 17:21:11 -04:00
wifi kconfig: Remove remaining 'option env' bounce symbols 2018-05-28 17:21:11 -04:00
wpan_serial ieee802154: Add support for filtering source short/ieee addresses 2018-05-17 16:18:53 +03:00
wpanusb ieee802154: Add support for filtering source short/ieee addresses 2018-05-17 16:18:53 +03:00
ws_console samples: net: websocket_console: Do not copy pass end of string 2018-03-26 13:00:11 +03:00
ws_echo_server net: websocket: Use system provided base64 function 2018-03-23 08:30:26 -04:00
zperf samples: net: zperf: Remove config files for Galileo board 2018-05-24 08:02:04 -04:00
net.rst