projects
/
platform
/
upstream
/
pulseaudio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6db74fc
)
detect: Fix OSS device detection with long names
author
Andrey Zholos
<aaz@q-fu.com>
Mon, 13 Apr 2015 03:00:46 +0000
(08:30 +0530)
committer
Arun Raghavan
<git@arunraghavan.net>
Mon, 13 Apr 2015 03:02:16 +0000
(08:32 +0530)
Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=89921
src/modules/module-detect.c
patch
|
blob
|
history
diff --git
a/src/modules/module-detect.c
b/src/modules/module-detect.c
index
70bdaca
..
a9a2de0
100644
(file)
--- 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))