aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2023-10-30 11:54:23 +0000
committerDavid Sterba <dsterba@suse.com>2023-11-03 16:40:18 +0100
commitcd63ffbd23edc176f09cac5c9287db732d7cbb73 (patch)
tree26660b1061153c458ac8c94115e24cbd69b687fa /tools/perf/scripts/python/syscall-counts.py
parentbtrfs: make found_logical_ret parameter mandatory for function queue_scrub_st... (diff)
downloadlinux-cd63ffbd23edc176f09cac5c9287db732d7cbb73.tar.gz
linux-cd63ffbd23edc176f09cac5c9287db732d7cbb73.zip
btrfs: fix error pointer dereference after failure to allocate fs devices
At device_list_add() we allocate a btrfs_fs_devices structure and then before checking if the allocation failed (pointer is ERR_PTR(-ENOMEM)), we dereference the error pointer in a memcpy() argument if the feature BTRFS_FEATURE_INCOMPAT_METADATA_UUID is enabled. Fix this by checking for an allocation error before trying the memcpy(). Fixes: f7361d8c3fc3 ("btrfs: sipmlify uuid parameters of alloc_fs_devices()") Reviewed-by: Qu Wenruo <wqu@suse.com> Reviewed-by: Anand Jain <anand.jain@oracle.com> Signed-off-by: Filipe Manana <fdmanana@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
ad of v4l2_rect to store sizeLaurent Pinchart1-3/+4 2023-10-12media: rkisp1: resizer: Constify argument and local variablesLaurent Pinchart1-6/+6 2023-10-12media: rkisp1: Program RKISP1_CIF_MI_SP_Y_PIC_SIZE registerLaurent Pinchart1-1/+3 2023-10-12media: rkisp1: Remove dual crop control register from config structureLaurent Pinchart1-7/+4 2023-10-12media: rkisp1: Fix line stride calculationLaurent Pinchart1-7/+13 2023-10-12media: rkisp1: Constify rkisp1_v12_params_opsLaurent Pinchart1-1/+1 2023-10-12media: rkisp1: Convert hex constants to lowercaseLaurent Pinchart2-311/+311 2023-10-12media: rkisp1: csi: Use V4L2 subdev active stateLaurent Pinchart2-80/+33 2023-10-12media: rkisp1: isp: Use V4L2 subdev active stateLaurent Pinchart2-165/+102 2023-10-12media: rkisp1: resizer: Use V4L2 subdev active stateLaurent Pinchart2-124/+66 2023-10-12media: MAINTAINERS: Add co-maintainer for the rkisp1 driverLaurent Pinchart1-0/+1 2023-10-12media: ccs: Fix a (harmless) lockdep warningSakari Ailus1-5/+12 2023-10-12media: ccs: Rework initialising sub-device stateSakari Ailus1-17/+28 2023-10-12media: i2c: mt9m114: Fix missing error unwind in probe()Laurent Pinchart1-2/+2 2023-10-12media: dt-bindings: sony,imx415: Allow props from video-interface-devicesJacopo Mondi1-9/+1 2023-10-12media: dt-bindings: sony,imx214: Allow props from video-interface-devicesJacopo Mondi1-1/+1 2023-10-12media: dt-bindings: ovti,ov5640: Allow props from video-interface-devicesJacopo Mondi1-6/+1 2023-10-12media: dt-bindings: ovti,ov4689: Allow props from video-interface-devicesJacopo Mondi1-5/+1 2023-10-12media: dt-bindings: ovti,ov02a10: Allow props from video-interface-devicesJacopo Mondi1-7/+1 2023-10-12media: dt-bindings: hynix,hi846: Add video-interface-devices propertiesJacopo Mondi1-1/+6 2023-10-12media: ti: Add CSI2RX support for J721EJai Luthra5-0/+1181