mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-29 21:21:12 +00:00
validate:launcher: Fix potential invalid index access
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1113>
This commit is contained in:
parent
b084abad79
commit
f2efd3b133
1 changed files with 2 additions and 1 deletions
|
@ -807,6 +807,7 @@ class GstValidateListener(socketserver.BaseRequestHandler, Loggable):
|
||||||
# Make sure that action end is taken into account when checking if process
|
# Make sure that action end is taken into account when checking if process
|
||||||
# is updating
|
# is updating
|
||||||
test.position += 1
|
test.position += 1
|
||||||
|
if test.actions_infos:
|
||||||
test.actions_infos[-1]['execution-duration'] = obj['execution-duration']
|
test.actions_infos[-1]['execution-duration'] = obj['execution-duration']
|
||||||
elif obj_type == 'report':
|
elif obj_type == 'report':
|
||||||
test.add_report(obj)
|
test.add_report(obj)
|
||||||
|
|
Loading…
Reference in a new issue