|
@@ -320,7 +320,7 @@ void sound_timer_init(struct sound_lowlev_timer *t, char *name)
|
|
|
n = sound_alloc_timerdev();
|
|
|
if (n == -1)
|
|
|
n = 0; /* Overwrite the system timer */
|
|
|
- strcpy(sound_timer.info.name, name);
|
|
|
+ strlcpy(sound_timer.info.name, name, sizeof(sound_timer.info.name));
|
|
|
sound_timer_devs[n] = &sound_timer;
|
|
|
}
|
|
|
EXPORT_SYMBOL(sound_timer_init);
|