summaryrefslogtreecommitdiffstats
path: root/src/modules/module-hal-detect.c
diff options
context:
space:
mode:
authorShahms E. King <shahms@shahms.com>2006-08-12 01:17:19 +0000
committerShahms E. King <shahms@shahms.com>2006-08-12 01:17:19 +0000
commitbb961569eb562b4c92617098627f8092098955d0 (patch)
tree69ebf5b3e605652eafe3d25cb41a48770218e3b2 /src/modules/module-hal-detect.c
parent1e12c75ba1a236bd5a8304c4c6c4aae28e9e6179 (diff)
increase module argument buffer size to prevent truncating names
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1208 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/modules/module-hal-detect.c')
-rw-r--r--src/modules/module-hal-detect.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/module-hal-detect.c b/src/modules/module-hal-detect.c
index 0063fdbd..54d139ec 100644
--- a/src/modules/module-hal-detect.c
+++ b/src/modules/module-hal-detect.c
@@ -157,7 +157,7 @@ static int hal_device_get_alsa_device(LibHalContext *ctx, const char *udi,
static pa_module* hal_device_load_alsa(struct userdata *u, const char *udi,
DBusError *error)
{
- char args[64];
+ char args[128];
alsa_type_t type;
int device, card;
const char *module_name;
@@ -218,7 +218,7 @@ exit:
static pa_module* hal_device_load_oss(struct userdata *u, const char *udi,
DBusError *error)
{
- char args[128];
+ char args[256];
char* device;
if (!hal_device_is_oss_pcm(u->ctx, udi, error) || dbus_error_is_set(error))