diff options
| author | Takashi Iwai <[email protected]> | 2011-07-05 07:25:59 +0000 |
|---|---|---|
| committer | Takashi Iwai <[email protected]> | 2011-07-05 12:39:27 +0000 |
| commit | 873bd4cb4fbba6a3e99f750e17ef2ba6ef96e9d3 (patch) | |
| tree | 7d18ae174562b57d195d01378fe9889366600fc5 /lib/dynamic_debug.c | |
| parent | Merge branch 'for-3.0' of git://git.kernel.org/pub/scm/linux/kernel/git/broon... (diff) | |
| download | kernel-873bd4cb4fbba6a3e99f750e17ef2ba6ef96e9d3.tar.gz kernel-873bd4cb4fbba6a3e99f750e17ef2ba6ef96e9d3.zip | |
ASoC: Don't set invalid name string to snd_card->driver field
The snd_card->driver field contains a driver name string, and in
general it shouldn't contain space or special letters. The commit
2b39535b9e54888649923beaab443af212b6c0fd changed the string copy from
card->name, but the long name string may contain such letters, thus
it may still lead to a segfault.
A temporary fix is not to copy the long name string but just keep it
empty as the earlier version did.
Reported-by: Kuninori Morimoto <[email protected]>
Acked-by: Liam Girdwood <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions
