Merge "Bluetooth: Fix for checking proper user-supplied buffers"