libcamera/include/libcamera/internal
Laurent Pinchart afd9890b7b libcamera: delayed_controls: Inherit from Object class
A second use-after-free bug related to signals staying connected after
the receiver DelayedControls instance gets deleted has been found, this
time in the simple pipeline handler. Fix the issue once and for all by
making the DelayedControls class inherit from Object. This will
disconnect signals automatically upon deletion of the receiver.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Tested-by: Stanislaw Gruszka <stanislaw.gruszka@linux.intel.com>
Tested-by: Isaac Scott <isaac.scott@ideasonboard.com>
Reviewed-by: Isaac Scott <isaac.scott@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
2025-07-11 12:25:46 +01:00
..
converter libcamera: converter: Add functions to adjust config 2024-12-17 11:19:36 +01:00
software_isp ipa: simple: softisp: Extend to pass metadata 2025-03-28 02:09:13 +02:00
tracepoints libcamera: include: Include missing stdint.h header 2025-01-09 15:11:17 +02:00
bayer_format.h libcamera: formats: Add PiSP specific image and config buffer formats 2024-05-16 16:11:06 +01:00
byte_stream_buffer.h libcamera: Drop file name from header comment blocks 2024-05-08 22:39:50 +03:00
camera.h libcamera: include: Include missing stdint.h header 2025-01-09 15:11:17 +02:00
camera_controls.h libcamera: Drop file name from header comment blocks 2024-05-08 22:39:50 +03:00
camera_lens.h libcamera: include: Include missing stdint.h header 2025-01-09 15:11:17 +02:00
camera_manager.h libcamera: includes: Remove unused includes 2024-09-02 22:44:38 +03:00
camera_sensor.h libcamera: include: Include missing stdint.h header 2025-01-09 15:11:17 +02:00
camera_sensor_properties.h libcamera: camera_sensor_properties: Add sensor control delays 2024-11-27 10:52:12 +00:00
clock_recovery.h libcamera: Add ClockRecovery class to generate wallclock timestamps 2025-06-19 11:12:26 +01:00
control_serializer.h libcamera: Drop file name from header comment blocks 2024-05-08 22:39:50 +03:00
control_validator.h libcamera: Drop file name from header comment blocks 2024-05-08 22:39:50 +03:00
converter.h libcamera: converter: Add functions to adjust config 2024-12-17 11:19:36 +01:00
debug_controls.h libcamera: Add a DebugMetadata helper 2024-11-13 11:47:06 +01:00
delayed_controls.h libcamera: delayed_controls: Inherit from Object class 2025-07-11 12:25:46 +01:00
device_enumerator.h libcamera: Drop file name from header comment blocks 2024-05-08 22:39:50 +03:00
device_enumerator_sysfs.h libcamera: includes: Remove unused includes 2024-09-02 22:44:38 +03:00
device_enumerator_udev.h libcamera: Drop file name from header comment blocks 2024-05-08 22:39:50 +03:00
dma_buf_allocator.h libcamera: Add missing <stdint.h> include to dma_buf_allocator.h 2025-01-09 03:34:13 +02:00
formats.h libcamera: includes: Remove unused includes 2024-09-02 22:44:38 +03:00
framebuffer.h libcamera: include: Include missing stdint.h header 2025-01-09 15:11:17 +02:00
ipa_data_serializer.h libcamera: ipa_data_serializer: Remove some vector reserve() calls 2025-05-27 11:10:23 +02:00
ipa_manager.h libcamera: ipa_manager: Store IPAModules in std::unique_ptr 2025-03-21 15:43:41 +01:00
ipa_module.h libcamera: ipa_module: Avoid unnecessary copy when getting signature 2025-04-22 14:49:10 +02:00
ipa_proxy.h libcamera: includes: Remove unused includes 2024-09-02 22:44:38 +03:00
ipc_pipe.h libcamera: include: Include missing stdint.h header 2025-01-09 15:11:17 +02:00
ipc_pipe_unixsocket.h libcamera: include: Include missing stdint.h header 2025-01-09 15:11:17 +02:00
ipc_unixsocket.h libcamera: Drop file name from header comment blocks 2024-05-08 22:39:50 +03:00
mapped_framebuffer.h libcamera: Drop file name from header comment blocks 2024-05-08 22:39:50 +03:00
matrix.h libcamera: matrix: Extend multiplication operator to heterogenous types 2025-05-20 09:49:09 +02:00
media_device.h libcamera: media_device: Add helper to return matching entities 2025-04-29 01:20:50 +09:00
media_object.h libcamera: media_object: Fix unnecessary copy 2025-03-21 14:46:44 +01:00
media_pipeline.h libcamera: internal: Add MediaPipeline helper 2025-04-29 02:45:21 +09:00
meson.build libcamera: Add ClockRecovery class to generate wallclock timestamps 2025-06-19 11:12:26 +01:00
pipeline_handler.h libcamera: pipeline_handler: Enable silent configuration file lookup 2025-01-14 16:38:04 +02:00
process.h libcamera: process: Disable copy/move 2025-06-09 15:25:18 +02:00
pub_key.h libcamera: Drop file name from header comment blocks 2024-05-08 22:39:50 +03:00
request.h libcamera: include: Include missing stdint.h header 2025-01-09 15:11:17 +02:00
shared_mem_object.h libcamera: includes: Remove unused includes 2024-09-02 22:44:38 +03:00
source_paths.h libcamera: Drop file name from header comment blocks 2024-05-08 22:39:50 +03:00
sysfs.h libcamera: Drop file name from header comment blocks 2024-05-08 22:39:50 +03:00
tracepoints.h.in libcamera: tracepoints: Fix copyright year for reproducible builds 2024-10-18 23:39:11 +03:00
v4l2_device.h libcamera: v4l2_device: add frame start event helpers 2025-04-03 09:36:11 +01:00
v4l2_pixelformat.h libcamera: v4l2_videodevice: Update to the new kernel metadata API 2025-01-08 14:28:35 +01:00
v4l2_subdevice.h libcamera: include: Include missing stdint.h header 2025-01-09 15:11:17 +02:00
v4l2_videodevice.h libcamera: v4l2_videodevice: lastUsedCounter_ need not be atomic 2025-03-21 16:56:58 +01:00
vector.h libcamera: vector: Extend matrix multiplication operator to heterogenous types 2025-05-20 09:49:09 +02:00
yaml_parser.h libcamera: yaml_parser: Use std::from_chars() 2024-11-13 15:38:18 +02:00