Go to file
Yulong Zhang 3892208376 tools/iio/iio_utils:fix memory leak
BugLink: https://bugs.launchpad.net/bugs/2017706

[ Upstream commit f2edf0c819a4823cd6c288801ce737e8d4fcde06 ]

1. fopen sysfs without fclose.
2. asprintf filename without free.
3. if asprintf return error,do not need to free the buffer.

Signed-off-by: Yulong Zhang <yulong.zhang@metoak.net>
Link: https://lore.kernel.org/r/20230117025147.69890-1-yulong.zhang@metoak.net
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Luke Nowakowski-Krijger <luke.nowakowskikrijger@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
2023-05-12 17:15:15 +02:00
Documentation mm: memcontrol: deprecate charge moving 2023-05-12 17:15:11 +02:00
LICENSES
arch firmware/efi sysfb_efi: Add quirk for Lenovo IdeaPad Duet 3 2023-05-12 17:15:14 +02:00
block blk-iocost: fix divide by 0 error in calc_lcoefs() 2023-05-12 17:15:06 +02:00
certs certs/blacklist_hashes.c: fix const confusion in certs blacklist 2022-08-26 11:10:49 +02:00
crypto crypto: rsa-pkcs1pad - Use akcipher_request_complete 2023-05-12 17:15:01 +02:00
debian UBUNTU: [Packaging] update helper scripts 2023-05-12 17:13:10 +02:00
debian.master UBUNTU: [Config] update annotations for CONFIG_DRM_MXSFB 2023-05-12 17:15:02 +02:00
drivers mei: bus-fixup:upon error print return values of send and receive 2023-05-12 17:15:15 +02:00
fs ubifs: ubifs_writepage: Mark page dirty after writing inode failed 2023-05-12 17:15:13 +02:00
include media: uvcvideo: Silence memcpy() run-time false positive warnings 2023-05-12 17:15:14 +02:00
init init/Kconfig: fix CC_HAS_ASM_GOTO_TIED_OUTPUT test with dash 2023-02-01 15:21:26 +01:00
ipc ipc: replace costly bailout check in sysvipc_find_ipc() 2023-02-24 14:01:18 +01:00
kernel tracing: Add NULL checks for buffer in ring_buffer_free_read_page() 2023-05-12 17:15:14 +02:00
lib lib/mpi: Fix buffer overrun when SG is too long 2023-05-12 17:15:00 +02:00
mm mm/thp: check and bail out if page in deferred queue already 2023-05-12 17:15:11 +02:00
net tcp: tcp_check_req() can be called from process context 2023-05-12 17:15:14 +02:00
samples samples: vfio-mdev: Fix missing pci_disable_device() in mdpy_fb_probe() 2023-02-01 15:22:56 +01:00
scripts ftrace/scripts: Update the instructions for ftrace-bisect.sh 2023-03-21 10:08:59 +01:00
security ima: Align ima_file_mmap() parameters with mmap_file LSM hook 2023-05-12 17:15:10 +02:00
sound ALSA: hda/realtek: Add quirk for HP EliteDesk 800 G6 Tower PC 2023-05-12 17:15:10 +02:00
tools tools/iio/iio_utils:fix memory leak 2023-05-12 17:15:15 +02:00
ubuntu
usr
virt KVM: Destroy target device if coalesced MMIO unregistration fails 2023-05-12 17:15:09 +02:00
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS net/phy/mdio-i2c: Move header file to include/linux/mdio 2023-03-21 10:09:00 +01:00
Makefile kbuild: Port silent mode detection to future gnu make. 2023-05-12 17:15:12 +02:00
README
Ubuntu.md UBUNTU: [Packaging] update Ubuntu.md 2021-11-05 16:43:42 +01:00
dropped.txt
snapcraft.yaml
update-dkms-versions UBUNTU: [Packaging] resync update-dkms-versions helper 2021-11-26 15:10:03 +01:00
update-version-dkms UBUNTU: [Packaging] switch to kernel-versions 2021-09-20 18:50:21 +02:00

README

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

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

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.