libcamera/utils/ipc/generators
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
..
libcamera_templates utils: ipc: Initialise ThreadProxy 2021-08-05 14:13:30 +01:00
meson.build meson: ipa, proxy: Generate headers and proxy with mojo 2021-02-16 19:21:39 +09:00
mojom_libcamera_generator.py utils: ipc: mojo: Error if ControlInfoMap/List doesn't prefix libcamera 2021-06-01 18:52:05 +09:00