mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-05 13:29:57 -05:00
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
This commit is contained in:
parent
1e12c75ba1
commit
bb961569eb
1 changed files with 2 additions and 2 deletions
|
|
@ -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,
|
static pa_module* hal_device_load_alsa(struct userdata *u, const char *udi,
|
||||||
DBusError *error)
|
DBusError *error)
|
||||||
{
|
{
|
||||||
char args[64];
|
char args[128];
|
||||||
alsa_type_t type;
|
alsa_type_t type;
|
||||||
int device, card;
|
int device, card;
|
||||||
const char *module_name;
|
const char *module_name;
|
||||||
|
|
@ -218,7 +218,7 @@ exit:
|
||||||
static pa_module* hal_device_load_oss(struct userdata *u, const char *udi,
|
static pa_module* hal_device_load_oss(struct userdata *u, const char *udi,
|
||||||
DBusError *error)
|
DBusError *error)
|
||||||
{
|
{
|
||||||
char args[128];
|
char args[256];
|
||||||
char* device;
|
char* device;
|
||||||
|
|
||||||
if (!hal_device_is_oss_pcm(u->ctx, udi, error) || dbus_error_is_set(error))
|
if (!hal_device_is_oss_pcm(u->ctx, udi, error) || dbus_error_is_set(error))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue