aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorRicardo Ribalda <ribalda@chromium.org>2021-04-09 10:41:35 +0200
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2021-04-09 13:07:09 +0200
commitdccfe2548746ca9cca3a20401ece4cf255d1f171 (patch)
tree00f82c4a1d4bca72170859ba51fd104238ec140f /tools/perf/scripts/python/export-to-postgresql.py
parentmedia: staging/intel-ipu3: Fix memory leak in imu_fmt (diff)
downloadwireguard-linux-dccfe2548746ca9cca3a20401ece4cf255d1f171.tar.xz
wireguard-linux-dccfe2548746ca9cca3a20401ece4cf255d1f171.zip
media: staging/intel-ipu3: Fix race condition during set_fmt
Do not modify imgu_pipe->nodes[inode].vdev_fmt.fmt.pix_mp, until the format has been correctly validated. Otherwise, even if we use a backup variable, there is a period of time where imgu_pipe->nodes[inode].vdev_fmt.fmt.pix_mp might have an invalid value that can be used by other functions. Cc: stable@vger.kernel.org Fixes: ad91849996f9 ("media: staging/intel-ipu3: Fix set_fmt error handling") Reviewed-by: Tomasz Figa <tfiga@chromium.org> Signed-off-by: Ricardo Ribalda <ribalda@chromium.org> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions