diff options
-rw-r--r-- | pulse/pulse.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pulse/pulse.c b/pulse/pulse.c index 8a60507..8e47b6c 100644 --- a/pulse/pulse.c +++ b/pulse/pulse.c @@ -162,6 +162,7 @@ snd_pulse_t *pulse_new(void) pa_path_get_filename(proc)); else snprintf(buf, sizeof(buf), "ALSA plug-in"); + buf[sizeof(buf)-1] = 0; p->context = pa_context_new(pa_threaded_mainloop_get_api(p->mainloop), buf); |