Go to file
Johan Hedberg c96f8e484c Bluetooth: Fix potential NULL-pointer access in UART driver
If we get an invalid packet type here the buf pointer will be NULL.
Going to the cleanup section at the end of the function would trigger
a bt_but_put() call which would cause a NULL pointer access. Directly
returning from the function is the right thing to do instead.

Change-Id: I0c18646e0820cf829ef8aa3f77835ba0a14375b5
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
2016-02-05 20:13:50 -05:00
arch Remove remaining references to NLI 2016-02-05 20:13:48 -05:00
config Remove NLI related kconfig options from BSPs 2016-02-05 20:13:48 -05:00
drivers Bluetooth: Fix potential NULL-pointer access in UART driver 2016-02-05 20:13:50 -05:00
host Fix checkpatch issue - WARNING:LINE_SPACING 2016-02-05 20:13:39 -05:00
include Bluetooth: Split buffers into separate pools 2016-02-05 20:13:50 -05:00
kernel Allow microkernel timer code to support tickless kernel 2016-02-05 20:13:49 -05:00
lib/libc/minimal build: Always enable section garbage collection flags 2016-02-05 20:13:48 -05:00
make Revise dependencies for timer-related configuration options 2016-02-05 20:13:49 -05:00
misc Remove inclusion of unused header files 2016-02-05 20:13:41 -05:00
net Bluetooth: Remove unnecessary ACL semaphore 2016-02-05 20:13:50 -05:00
samples Bluetooth: Add Bluetooth microkernel smoke test 2016-02-05 20:13:50 -05:00
scripts Bluetooth: Add Bluetooth microkernel smoke test 2016-02-05 20:13:50 -05:00
shared/include/nanokernel/x86 Fix checkpatch issue - ERROR:POINTER_LOCATION 2016-02-05 20:13:39 -05:00
.gitattributes First commit 2015-04-10 16:44:37 -07:00
.gitignore Add more host utils to .gitignore 2016-02-05 20:13:45 -05:00
.mailmap First commit 2015-04-10 16:44:37 -07:00
vxmicro-env.bash Remove reference to CodeSourcery 2016-02-05 20:13:41 -05:00