summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Zholos <aaz@q-fu.com>2015-04-13 08:30:46 +0530
committerArun Raghavan <git@arunraghavan.net>2015-04-13 08:32:16 +0530
commit492fa1ff32ed95d13310ff3b3003564a2a16a06d (patch)
tree5f363c1310387cc695351d96c505a775ec26c802
parent6db74fc3c7e2875d3f93dcf346ccd654a0e972aa (diff)
downloadpulseaudio-492fa1ff32ed95d13310ff3b3003564a2a16a06d.tar.gz
detect: Fix OSS device detection with long names
Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=89921
-rw-r--r--src/modules/module-detect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/module-detect.c b/src/modules/module-detect.c
index 70bdacae8..a9a2de048 100644
--- a/src/modules/module-detect.c
+++ b/src/modules/module-detect.c
@@ -131,7 +131,7 @@ static int detect_oss(pa_core *c, int just_one) {
}
while (!feof(f)) {
- char line[64], args[64];
+ char line[256], args[64];
unsigned device;
if (!fgets(line, sizeof(line), f))