Skip to contentSkip to conversation

emufx: reduce stack usage

PATCH p z oooo 2 participants 2 messages Jul 1, 2003

lore
Share & tools
lore

p z oooo

author
#0 lore raw

And ones more:

IOCTL SNDRV_EMU10K1_IOCTL_PCM_PEEK in snd_emu10k1_fx8010_ioctl allocate structure to ipcm which is then passed to snd_emu10k1_ipcm_peek which then uses one of member (ipcm->substream) which is not initialized (may come from user space ???).

Peter Zubaj

====================== REKLAMA ================================= Vyrazne zlavy pocitacov a prislusenstva
Sun Fire V210 server v cenach uz od 125.000,- Sk bez DPH Navstivte nas na adrese http://www.somi.sk/sun/lowend_servery.php
================================================================

-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01

#1 lore raw
Quoted 6 lines · p z oooo

And ones more:

IOCTL SNDRV_EMU10K1_IOCTL_PCM_PEEK in snd_emu10k1_fx8010_ioctl allocate structure to ipcm which is then passed to snd_emu10k1_ipcm_peek which then uses one of member (ipcm->substream) which is not initialized (may come from user space ???).

It should be fixed now. Do you need to implement the TRAM_POKE and TRAM_PEEK ioctls, too?

Jaroslav

-----
Jaroslav Kysela <[email protected]>
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs

-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01