History log of /openbmc/linux/sound/pci/ctxfi/ctpcm.c (Results 201 – 225 of 299)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1d6d7568 28-Nov-2010 James Morris <jmorris@namei.org>

Merge branch 'master' into next


# 54056525 24-Nov-2010 Paul Mundt <lethal@linux-sh.org>

Merge branch 'rmobile/fsi-despair' into rmobile-fixes-for-linus


# c4d73e7d 24-Nov-2010 Paul Mundt <lethal@linux-sh.org>

Merge branches 'rmobile/ag5' and 'rmobile/fsi-despair' into rmobile-latest


# ea49b166 23-Nov-2010 Linus Torvalds <torvalds@linux-foundation.org>

Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6

* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6: (41 commits)
ALSA: hda - I

Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6

* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6: (41 commits)
ALSA: hda - Identify more variants for ALC269
ALSA: hda - Fix wrong ALC269 variant check
ALSA: hda - Enable jack sense for Thinkpad Edge 11
ALSA: Revert "ALSA: hda - Fix switching between dmic and mic using the same mux on IDT/STAC"
ALSA: hda - Fixed ALC887-VD initial error
ALSA: atmel - Fix the return value in error path
ALSA: hda: Use hp-laptop quirk to enable headphones automute for Asus A52J
ALSA: snd-atmel-abdac: test wrong variable
ALSA: azt3328: period bug fix (for PA), add missing ACK on stop timer
ALSA: hda: Add Samsung R720 SSID for subwoofer pin fixup
ALSA: sound/pci/asihpi/hpioctl.c: Remove unnecessary casts of pci_get_drvdata
ALSA: sound/core/pcm_lib.c: Remove unnecessary semicolons
ALSA: sound/ppc: Use printf extension %pR for struct resource
ALSA: ac97: Apply quirk for Dell Latitude D610 binding Master and Headphone controls
ASoC: uda134x - set reg_cache_default to uda134x_reg
ASoC: Add support for MAX98089 CODEC
ASoC: davinci: fixes for multi-component
ASoC: Fix register cache setup WM8994 for multi-component
ASoC: Fix dapm_seq_compare() for multi-component
ASoC: RX1950: Fix hw_params function
...

show more ...


# d2b88e4c 22-Nov-2010 Takashi Iwai <tiwai@suse.de>

Merge branch 'fix/misc' into topic/misc


Revision tags: v2.6.37-rc3, v2.6.37-rc2
# fa2b30af 09-Nov-2010 Julia Lawall <julia@diku.dk>

ALSA: sound/pci/ctxfi/ctpcm.c: Remove potential for use after free

In each function, the value apcm is stored in the private_data field of
runtime. At the same time the function ct_atc_pcm_free_sub

ALSA: sound/pci/ctxfi/ctpcm.c: Remove potential for use after free

In each function, the value apcm is stored in the private_data field of
runtime. At the same time the function ct_atc_pcm_free_substream is stored
in the private_free field of the same structure. ct_atc_pcm_free_substream
dereferences and ultimately frees the value in the private_data field. But
each function can exit in an error case with apcm having been freed, in
which case a subsequent call to the private_free function would perform a
dereference after free. On the other hand, if the private_free field is
not initialized, it is NULL, and not invoked (see snd_pcm_detach_substream
in sound/core/pcm.c). To avoid the introduction of a dangling pointer, the
initializations of the private_data and private_free fields are moved to
the end of the function, past any possible free of apcm. This is safe
because the previous calls to snd_pcm_hw_constraint_integer and
snd_pcm_hw_constraint_minmax, which take runtime as an argument, do not
refer to either of these fields.

In each function, there is one error case where apcm needs to be freed, and
a call to kfree is added.

The sematic match that finds this problem is as follows:
(http://coccinelle.lip6.fr/)

// <smpl>
@@
expression e,e1,e2,e3;
identifier f,free1,free2;
expression a;
@@

*e->f = a
... when != e->f = e1
when any
if (...) {
... when != free1(...,e,...)
when != e->f = e2
* kfree(a)
... when != free2(...,e,...)
when != e->f = e3
}
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

show more ...


Revision tags: v2.6.37-rc1
# b74b953b 27-Oct-2010 Michal Marek <mmarek@suse.cz>

Merge commit 'v2.6.36' into kbuild/misc

Update to be able to fix a recent change to scripts/basic/docproc.c
(commit eda603f).


Revision tags: v2.6.36, v2.6.36-rc8, v2.6.36-rc7, v2.6.36-rc6, v2.6.36-rc5, v2.6.36-rc4, v2.6.36-rc3, v2.6.36-rc2, v2.6.36-rc1
# 11e4afb4 06-Aug-2010 Russell King <rmk+kernel@arm.linux.org.uk>

Merge branches 'gemini' and 'misc' into devel


# 7a996d3a 04-Aug-2010 Michal Marek <mmarek@suse.cz>

Merge commit 'v2.6.35' into kbuild/kconfig

Conflicts:
scripts/kconfig/Makefile


# 772320e8 04-Aug-2010 Michal Marek <mmarek@suse.cz>

Merge commit 'v2.6.35' into kbuild/kbuild

Conflicts:
arch/powerpc/Makefile


Revision tags: v2.6.35, v2.6.35-rc6, v2.6.35-rc5, v2.6.35-rc4, v2.6.35-rc3, v2.6.35-rc2
# e37c83c0 31-May-2010 Mark Brown <broonie@opensource.wolfsonmicro.com>

Merge commit 'v2.6.35-rc1' into for-2.6.36


Revision tags: v2.6.35-rc1
# 19fdb9ee 21-May-2010 NeilBrown <neilb@suse.de>

Merge commit '3ff195b011d7decf501a4d55aeed312731094796' into for-linus

Conflicts:
drivers/md/md.c

- Resolved conflict in md_update_sb
- Added extra 'NULL' arg to new instance of sysfs_get_dirent.

Merge commit '3ff195b011d7decf501a4d55aeed312731094796' into for-linus

Conflicts:
drivers/md/md.c

- Resolved conflict in md_update_sb
- Added extra 'NULL' arg to new instance of sysfs_get_dirent.

Signed-off-by: NeilBrown <neilb@suse.de>

show more ...


# 0b28330e 17-May-2010 Dan Williams <dan.j.williams@intel.com>

Merge branch 'ioat' into dmaengine


# ac1d426e 17-May-2010 Russell King <rmk+kernel@arm.linux.org.uk>

Merge branch 'devel-stable' into devel

Conflicts:
arch/arm/Kconfig
arch/arm/include/asm/system.h
arch/arm/mm/Kconfig


# b65b3489 16-May-2010 Henrique de Moraes Holschuh <hmh@hmh.eng.br>

Merge mainline (v2.6.34-rc7)


Revision tags: v2.6.34
# a9aa1d02 12-May-2010 Frederic Weisbecker <fweisbec@gmail.com>

Merge commit 'v2.6.34-rc7' into perf/nmi

Merge reason: catch up with latest softlockup detector changes.


# 0ae28a35 10-May-2010 David Woodhouse <David.Woodhouse@intel.com>

Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6

Conflicts:
drivers/mtd/mtdcore.c

Pull in the bdi fixes and ARM platform changes that other outstanding
pat

Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6

Conflicts:
drivers/mtd/mtdcore.c

Pull in the bdi fixes and ARM platform changes that other outstanding
patches depend on.

show more ...


# dbb6be6d 10-May-2010 Thomas Gleixner <tglx@linutronix.de>

Merge branch 'linus' into timers/core

Reason: Further posix_cpu_timer patches depend on mainline changes

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>


Revision tags: v2.6.34-rc7
# d7be0ce6 08-May-2010 H. Peter Anvin <hpa@zytor.com>

Merge commit 'v2.6.34-rc6' into x86/cpu


# 0ffbe269 05-May-2010 James Morris <jmorris@namei.org>

Merge branch 'master' into next


# 5306293c 04-May-2010 J. Bruce Fields <bfields@citi.umich.edu>

Merge commit 'v2.6.34-rc6'

Conflicts:
fs/nfsd/nfs4callback.c


# d6d53cbc 03-May-2010 Jiri Kosina <jkosina@suse.cz>

Merge branch 'hid-suspend' into picolcd


# 53ba4f2f 03-May-2010 Ingo Molnar <mingo@elte.hu>

Merge commit 'v2.6.34-rc6' into core/locking


# df2071bd 02-May-2010 Herbert Xu <herbert@gondor.apana.org.au>

Merge git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6


# f9221fd8 30-Apr-2010 Joel Becker <joel.becker@oracle.com>

Merge branch 'skip_delete_inode' of git://git.kernel.org/pub/scm/linux/kernel/git/mfasheh/ocfs2-mark into ocfs2-fixes


12345678910>>...12