aboutsummaryrefslogtreecommitdiffstats
path: root/sound/oss
diff options
context:
space:
mode:
authorDaniel Ritz <daniel.ritz-ml@swissonline.ch>2006-04-14 17:42:13 +0200
committerDominik Brodowski <linux@dominikbrodowski.net>2006-04-22 00:49:19 +0200
commit48b950ff241fca03a6969a5eb6a42a02722678d4 (patch)
treed6a5fb6080355af987b7d60e5308b68d85d85ae7 /sound/oss
parent[PATCH] vrc4171: update config (diff)
downloadlinux-dev-48b950ff241fca03a6969a5eb6a42a02722678d4.tar.xz
linux-dev-48b950ff241fca03a6969a5eb6a42a02722678d4.zip
[PATCH] pcmcia/pcmcia_resource.c: fix crash when using Cardbus cards
Using the old ioctl interface together with cardbus card gives a NULL pointer dereference since cardbus devices don't have a struct pcmcia_device. also s->io[0].res can be NULL as well. Fix is to move the pcmcia code after the cardbus code and to check for a null pointer. Signed-off-by: Daniel Ritz <daniel.ritz@gmx.ch> Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'sound/oss')
0 files changed, 0 insertions, 0 deletions