diff options
author | Ross Burton <ross.burton@arm.com> | 2022-08-26 18:35:47 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-09-02 15:58:25 +0100 |
commit | 3cca59a9bcba1cad84f788e0f6ae09bc00c00ed7 (patch) | |
tree | 51d705eb2ebc4d7a77e2c15b1a1bfe2d024c9cf1 /scripts/runqemu-extract-sdk | |
parent | c9342278d7571750b7c0b5b0aced6a117d43c749 (diff) | |
download | poky-3cca59a9bcba1cad84f788e0f6ae09bc00c00ed7.tar.gz |
cve-check: close cursors as soon as possible
We can have multiple processes reading the database at the same time, and
cursors only release their locks when they're garbage collected.
This might be the cause of random sqlite errors on the autobuilder, so
explicitly close the cursors when we're done with them.
(From OE-Core rev: 5d2e90e4a58217a943ec21140bc2ecdd4357a98a)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/runqemu-extract-sdk')
0 files changed, 0 insertions, 0 deletions