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:
Tyler Dauwalder
2003-10-27 08:10:52 +00:00
parent de5a94dbc6
commit e176a055ac
2 changed files with 12 additions and 6 deletions
@@ -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);