diag/router
Bjorn Andersson ab6edce12a hdlc: Fail when message starts with a 0x7e
Sometimes the Windows client sends messages starting with 0x7e,
resulting in msglen being -2 and a valid pointer being returned. Handle
this case by returning NULL, to indicate that we did not decode a proper
message.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2018-07-19 21:28:35 -07:00
..
app_cmds.c diag: Restructure repository 2018-07-12 21:56:44 -07:00
circ_buf.c diag: Restructure repository 2018-07-12 21:56:44 -07:00
circ_buf.h diag: Restructure repository 2018-07-12 21:56:44 -07:00
common_cmds.c diag: Restructure repository 2018-07-12 21:56:44 -07:00
diag_cntl.c diag_cntl: Only set REQ_RSP feature if we have cmd channel 2018-07-12 21:56:45 -07:00
diag_cntl.h diag: Restructure repository 2018-07-12 21:56:44 -07:00
diag.c diag-router: Allow diag to be launched without arguments 2018-07-12 21:56:45 -07:00
diag.h diag: Restructure repository 2018-07-12 21:56:44 -07:00
dm.c dm: Make input fd optional 2018-07-19 21:26:59 -07:00
dm.h dm: Return newly created dm object 2018-07-19 21:25:23 -07:00
hdlc.c hdlc: Fail when message starts with a 0x7e 2018-07-19 21:28:35 -07:00
hdlc.h diag: Restructure repository 2018-07-12 21:56:44 -07:00
list.h list: Update list.h to add some additional helpers 2018-07-19 21:24:21 -07:00
masks.c diag: Restructure repository 2018-07-12 21:56:44 -07:00
masks.h diag: Restructure repository 2018-07-12 21:56:44 -07:00
mbuf.c diag: Restructure repository 2018-07-12 21:56:44 -07:00
mbuf.h diag: Restructure repository 2018-07-12 21:56:44 -07:00
peripheral-qrtr.c diag: Restructure repository 2018-07-12 21:56:44 -07:00
peripheral-qrtr.h diag: Restructure repository 2018-07-12 21:56:44 -07:00
peripheral-rpmsg.c perif-rpmsg: Only initialize on primary channel 2018-07-12 22:04:18 -07:00
peripheral-rpmsg.h diag: Restructure repository 2018-07-12 21:56:44 -07:00
peripheral.c diag: Restructure repository 2018-07-12 21:56:44 -07:00
peripheral.h diag: Restructure repository 2018-07-12 21:56:44 -07:00
router.c diag: Restructure repository 2018-07-12 21:56:44 -07:00
socket.c diag: Restructure repository 2018-07-12 21:56:44 -07:00
uart.c diag: Restructure repository 2018-07-12 21:56:44 -07:00
unix.c diag: Restructure repository 2018-07-12 21:56:44 -07:00
usb.c diag: Restructure repository 2018-07-12 21:56:44 -07:00
util.c diag: Restructure repository 2018-07-12 21:56:44 -07:00
util.h diag: Restructure repository 2018-07-12 21:56:44 -07:00
watch.c diag: Restructure repository 2018-07-12 21:56:44 -07:00
watch.h diag: Restructure repository 2018-07-12 21:56:44 -07:00