Commit 4134dfea authored by Alan Cox's avatar Alan Cox Committed by Steve French

[PATCH] fix security leak in msnd_pinnacle.c

parent dc0b32fb
......@@ -555,8 +555,8 @@ static unsigned long force_recsrc(unsigned long recsrc)
}
#define set_mixer_info() \
strlcpy(info.id, "MSNDMIXER", sizeof(info.id)); \
strlcpy(info.name, "MultiSound Mixer", sizeof(info.name));
strncpy(info.id, "MSNDMIXER", sizeof(info.id)); \
strncpy(info.name, "MultiSound Mixer", sizeof(info.name));
static int mixer_ioctl(unsigned int cmd, unsigned long arg)
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment