Added max parameter-string buffer-size limit of 32KB.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5178 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -59,6 +59,9 @@ struct user_disk_device_job_info {
|
||||
char description[256];
|
||||
};
|
||||
|
||||
// Max size of parameter string buffers (including NULL terminator)
|
||||
#define B_DISK_DEVICE_MAX_PARAMETER_SIZE (32 * 1024)
|
||||
|
||||
// iterating, retrieving device/partition data
|
||||
partition_id _kern_get_next_disk_device_id(int32 *cookie,
|
||||
size_t *neededSize = NULL);
|
||||
|
||||
Reference in New Issue
Block a user