libcamera/utils/ipc/generators/libcamera_templates
Kieran Bingham 2c18ebb859 utils: ipc: Initialise ThreadProxy
The ThreadProxy IPA template does not implement a constructor and the
default compiler generated constructor does not initialise the private
ipa_ pointer.

Whilst this should not be expected to be used while uninitialised, it
does get caught by static analysis for every IPA module constructed, so
lets be clean and fix it.

Reported-by: Coverity CID=350116
Reported-by: Coverity CID=350123
Reported-by: Coverity CID=350140
Reported-by: Coverity CID=350147
Fixes: 7832e19a59 ("utils: ipc: add templates for code generation for IPC mechanism")
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Reviewed-by: Umang Jain <umang.jain@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
2021-08-05 14:13:30 +01:00
..
core_ipa_interface.h.tmpl utils: ipc: add templates for code generation for IPC mechanism 2021-02-16 19:21:00 +09:00
core_ipa_serializer.h.tmpl utils: ipc: add templates for code generation for IPC mechanism 2021-02-16 19:21:00 +09:00
definition_functions.tmpl ipa: Move core IPA interface documentation to a .cpp file 2021-05-24 14:13:01 +03:00
meson.build utils: ipc: add templates for code generation for IPC mechanism 2021-02-16 19:21:00 +09:00
module_ipa_interface.h.tmpl utils: ipc: add templates for code generation for IPC mechanism 2021-02-16 19:21:00 +09:00
module_ipa_proxy.cpp.tmpl utils: ipc: proxy: Reset ControlSerializer during IPA configure 2021-07-09 22:56:27 +05:30
module_ipa_proxy.h.tmpl utils: ipc: Initialise ThreadProxy 2021-08-05 14:13:30 +01:00
module_ipa_proxy_worker.cpp.tmpl utils: ipc: Assign a new gid to proxy worker 2021-07-27 10:07:13 +05:30
module_ipa_serializer.h.tmpl utils: ipc: Use the proper namespace for mojom structs 2021-04-27 17:34:58 +09:00
proxy_functions.tmpl utils: ipc: proxy: Track IPA with a state machine 2021-03-29 12:18:02 +01:00
serializer.tmpl utils: ipc: Use the proper namespace for mojom structs 2021-04-27 17:34:58 +09:00