[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: [Phonon] [Bug 268185] Crash late in startup
From: Martin Sandsmark <martin.sandsmark () kde ! org>
Date: 2013-01-20 23:40:16
Message-ID: bug-268185-17878-TcEAGp0pEQ () http ! bugs ! kde ! org/
[Download RAW message or body]
https://bugs.kde.org/show_bug.cgi?id=268185
--- Comment #40 from Martin Sandsmark <martin.sandsmark@kde.org> ---
this should fix it, would be nice if anyone could test it:
diff --git a/src/control/namehint.c b/src/control/namehint.c
index 19352be..089c67a 100644
--- a/src/control/namehint.c
+++ b/src/control/namehint.c
@@ -545,7 +545,7 @@ static int add_software_devices(struct hint_list *list)
int snd_device_name_hint(int card, const char *iface, void ***hints)
{
struct hint_list list;
- char ehints[24];
+ char ehints[512];
const char *str;
snd_config_t *conf;
snd_config_iterator_t i, next;
@@ -600,7 +600,7 @@ int snd_device_name_hint(int card, const char *iface, void
***hints)
goto __error;
}
}
- sprintf(ehints, "namehint.%s", list.siface);
+ snprintf(ehints, "namehint.%s", sizeof(ehints), list.siface);
err = snd_config_search(snd_config, ehints, &conf);
if (err >= 0) {
snd_config_for_each(i, next, conf) {
--
You are receiving this mail because:
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic