No description
Find a file
Pan Bian 6021cd8798 spi: img-spfi: fix potential double release
[ Upstream commit e9a8ba9769 ]

The channels spfi->tx_ch and spfi->rx_ch are not set to NULL after they
are released. As a result, they will be released again, either on the
error handling branch in the same function or in the corresponding
remove function, i.e. img_spfi_remove(). This patch fixes the bug by
setting the two members to NULL.

Signed-off-by: Pan Bian <bianpan2016@163.com>
Link: https://lore.kernel.org/r/1573007769-20131-1-git-send-email-bianpan2016@163.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-12-31 12:37:22 +01:00
arch pinctrl: sh-pfc: sh7734: Fix duplicate TCLK1_B 2019-12-31 12:37:19 +01:00
block blk-mq: make sure that line break can be printed 2019-12-17 20:39:59 +01:00
certs Replace magic for trusting the secondary keyring with #define 2018-09-09 19:55:54 +02:00
crypto crypto: user - fix memory leak in crypto_report 2019-12-17 20:38:55 +01:00
Documentation USB: documentation: flags on usb-storage versus UAS 2019-12-17 20:39:03 +01:00
drivers spi: img-spfi: fix potential double release 2019-12-31 12:37:22 +01:00
firmware License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
fs Btrfs: fix removal logic of the tree mod log that leads to use-after-free issues 2019-12-31 12:36:45 +01:00
include rfkill: allocate static minor 2019-12-31 12:37:21 +01:00
init fork: fix some -Wmissing-prototypes warnings 2019-12-05 15:37:52 +01:00
ipc ipc/mqueue.c: only perform resource calculation if user valid 2019-08-06 19:05:24 +02:00
kernel kernel/module.c: wakeup processes in module_wq on module unload 2019-12-17 20:40:02 +01:00
lib lib: raid6: fix awk build warnings 2019-12-17 20:39:21 +01:00
mm mm/shmem.c: cast the type of unmap_start to u64 2019-12-17 20:39:58 +01:00
net rfkill: allocate static minor 2019-12-31 12:37:21 +01:00
samples samples: pktgen: fix proc_cmd command result check logic 2019-12-31 12:37:00 +01:00
scripts modpost: skip ELF local symbols during section mismatch check 2019-12-17 20:38:30 +01:00
security apparmor: delete the dentry in aafs_remove() to avoid a leak 2019-12-05 15:38:01 +01:00
sound ALSA: hda/ca0132 - Avoid endless loop 2019-12-31 12:36:46 +01:00
tools perf report: Add warning when libunwind not compiled in 2019-12-31 12:37:09 +01:00
usr kbuild: clean compressed initramfs image 2019-10-07 18:55:14 +02:00
virt KVM: arm/arm64: vgic: Don't rely on the wrong pending table 2019-12-17 20:38:51 +01:00
.cocciconfig
.get_maintainer.ignore
.gitattributes .gitattributes: set git diff driver for C source code files 2016-10-07 18:46:30 -07:00
.gitignore kbuild: rpm-pkg: keep spec file until make mrproper 2018-02-13 10:19:46 +01:00
.mailmap .mailmap: Add Maciej W. Rozycki's Imagination e-mail address 2017-11-10 12:16:15 -08:00
COPYING
CREDITS MAINTAINERS: update TPM driver infrastructure changes 2017-11-09 17:58:40 -08:00
Kbuild License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Kconfig License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
MAINTAINERS USB: rio500: Remove Rio 500 kernel driver 2019-10-17 13:43:20 -07:00
Makefile Linux 4.14.160 2019-12-21 10:47:56 +01:00
README README: add a new README file, pointing to the Documentation/ 2016-10-24 08:12:35 -02:00

Linux kernel
============

This file was moved to Documentation/admin-guide/README.rst

Please notice that there are several guides for kernel developers and users.
These guides can be rendered in a number of formats, like HTML and PDF.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.
See Documentation/00-INDEX for a list of what is contained in each file.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.