[pulseaudio-commits] r1208 - /trunk/src/modules/module-hal-detect.c

svnmailer-noreply at 0pointer.de svnmailer-noreply at 0pointer.de
Fri Aug 11 18:17:21 PDT 2006


Author: shahms
Date: Sat Aug 12 03:17:19 2006
New Revision: 1208

URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=1208&root=pulseaudio&view=rev
Log:
increase module argument buffer size to prevent truncating names

Modified:
    trunk/src/modules/module-hal-detect.c

Modified: trunk/src/modules/module-hal-detect.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/modules/module-hal-detect.c?rev=1208&root=pulseaudio&r1=1207&r2=1208&view=diff
==============================================================================
--- trunk/src/modules/module-hal-detect.c (original)
+++ trunk/src/modules/module-hal-detect.c Sat Aug 12 03:17:19 2006
@@ -157,7 +157,7 @@
 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 @@
 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))




More information about the pulseaudio-commits mailing list