-
- Downloads
ALSA: info - Check file position validity in common layer
Check the validity of the file position in the common info layer before
calling read or write callbacks in assumption that entry->size is set up
properly to indicate the max file size.
Removed the redundant checks from the callbacks as well.
Signed-off-by:
Takashi Iwai <tiwai@suse.de>
Showing
- sound/core/info.c 11 additions, 3 deletionssound/core/info.c
- sound/drivers/opl4/opl4_proc.c 16 additions, 30 deletionssound/drivers/opl4/opl4_proc.c
- sound/isa/gus/gus_mem_proc.c 4 additions, 10 deletionssound/isa/gus/gus_mem_proc.c
- sound/pci/cs4281.c 6 additions, 18 deletionssound/pci/cs4281.c
- sound/pci/cs46xx/cs46xx_lib.c 3 additions, 9 deletionssound/pci/cs46xx/cs46xx_lib.c
- sound/pci/emu10k1/emuproc.c 20 additions, 23 deletionssound/pci/emu10k1/emuproc.c
- sound/pci/mixart/mixart.c 0 additions, 12 deletionssound/pci/mixart/mixart.c
Loading
Please register or sign in to comment