vfs: check userland buffers before reading them.
[haiku.git] / src / servers / bluetooth / HCIControllerAccessor.cpp
blobf82c446851583ac9c84226d2e9d1c36915f6ebfb
1 /*
2 * Copyright 2007-2008 Oliver Ruiz Dorantes, oliver.ruiz.dorantes_at_gmail.com
3 * All rights reserved. Distributed under the terms of the MIT License.
4 */
6 #include "HCIControllerAccessor.h"
8 HCIControllerAccessor::HCIControllerAccessor(BPath* path) : HCIDelegate(path)
14 HCIControllerAccessor::~HCIControllerAccessor()
20 status_t
21 HCIControllerAccessor::IssueCommand(raw_command rc, size_t size)
24 if (Id() < 0)
25 return B_ERROR;
27 return B_OK;
31 status_t
32 HCIControllerAccessor::Launch() {
34 return B_OK;