diff options
author | Daniel THOMPSON <daniel.thompson@st.com> | 2008-08-15 11:53:38 +0200 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2008-08-15 12:38:14 +0200 |
commit | 54e8e21ed21ca8788aa75294067494abebf9d550 (patch) | |
tree | 354640ce67641af2632212edf6a29fb8e7a6fd9c /fs/binfmt_misc.c | |
parent | ALSA: hda: 92HD75xx fixes (diff) | |
download | linux-54e8e21ed21ca8788aa75294067494abebf9d550.tar.xz linux-54e8e21ed21ca8788aa75294067494abebf9d550.zip |
sound: Fix esoteric double free in the dummy sound driver.
The dummy driver uses runtime->private_free but still frees
its pcm structures on error paths.
This is esoteric because the error paths in question are
unreachable. Thus the bug is only a problem when someone
copies this code into other drivers.
Signed-off-by: Daniel R Thompson <daniel.thompson@st.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'fs/binfmt_misc.c')
0 files changed, 0 insertions, 0 deletions