get_device_hid() now has a 'size_t bufferLength' parameter, to avoid the risk of buffer overflow

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30575 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stefano Ceccherini
2009-05-02 16:04:15 +00:00
parent 10169155a9
commit c1f949908a
5 changed files with 10 additions and 19 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ struct acpi_module_info {
status_t (*get_device)(const char *hid, uint32 index, char *result,
size_t resultLength);
status_t (*get_device_hid)(const char *path, char *hid);
status_t (*get_device_hid)(const char *path, char *hid, size_t hidLength);
uint32 (*get_object_type)(const char *path);
status_t (*get_object)(const char *path,
acpi_object_type **_returnValue);