Package: tracker / 2.1.8-2

Metadata

Package Version Patches format
tracker 2.1.8-2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
tracker monitor Prevent stack smashing.patch | (download)

src/libtracker-miner/tracker-monitor.c | 6 4 + 2 - 0 !
1 file changed, 4 insertions(+), 2 deletions(-)

 tracker-monitor: prevent stack smashing

Make sure to use GPOINTER_TO_UINT when using g_hash_table_lookup_extended() to
prevent stack smashing. This will make sure that in the architectures where
sizeof(GFileMonitorEvent) < sizeof(gpointer), g_hash_table_lookup_extended()
will not write more bytes than prev_event_type can hold.

Bug-Upstream: https://gitlab.gnome.org/GNOME/tracker/issues/71
disable miner fs test.patch | (download)

tests/libtracker-miner/Makefile.am | 1 0 + 1 - 0 !
1 file changed, 1 deletion(-)

 this is a new test that fails in debian/ubuntu, disabling it for now

drop assert.patch | (download)

tests/libtracker-data/tracker-backup-test.c | 2 1 + 1 - 0 !
tests/libtracker-data/tracker-sparql-blank-test.c | 2 1 + 1 - 0 !
tests/tracker-steroids/tracker-test.c | 2 1 + 1 - 0 !
3 files changed, 3 insertions(+), 3 deletions(-)

 this assert never worked in ubuntu testsuite since 2.0.2 when

it was introduced, removing it for now
test.patch | (download)

tests/libtracker-data/nie/filter-description-1.out | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 test


libtracker miners common Make g_error a soft error.patch | (download)

src/libtracker-common/tracker-domain-ontology.c | 6 5 + 1 - 0 !
1 file changed, 5 insertions(+), 1 deletion(-)

 libtracker-miners-common: make g_error() a soft error

Make TrackerDomainOntology initialization fail if the .rule file
is not found, instead of a fatal error.

Closes: https://gitlab.gnome.org/GNOME/tracker/issues/42

build Restore right soversion to libraries.patch | (download)

meson.build | 3 2 + 1 - 0 !
src/libtracker-control/meson.build | 1 1 + 0 - 0 !
src/libtracker-miner/meson.build | 1 1 + 0 - 0 !
src/libtracker-sparql-backend/meson.build | 1 1 + 0 - 0 !
4 files changed, 5 insertions(+), 1 deletion(-)

 build: restore right soversion to libraries

The previous change did not leave the expected .0 symlinks.

'soversion' is the actual version linked against. To match the scheme
used by libtool, we need to give the libraries a 'version' as well.

(cherry picked from commit 282cd5aa85852cc7f9e603dae435f6b528c4712a)

functional tests Require Bash for test runner.patch | (download)

tests/functional-tests/test-runner.sh | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 functional-tests: require bash for test runner

We need to clean up on errors. There isn't a 'standard' way to do this,
so this script needs to explicitly depend on Bash.

Fixes https://gitlab.gnome.org/GNOME/tracker-miners/issues/42

(cherry picked from commit dc01e6888fbee3912b208c79dc0a68279bf5feff)

tracker miner Fix cancellation of g_file_enumerator_next_.patch | (download)

src/libtracker-miner/tracker-crawler.c | 6 3 + 3 - 0 !
1 file changed, 3 insertions(+), 3 deletions(-)

 tracker-miner: fix cancellation of
 g_file_enumerator_next_files_async

The async op is not owner of the user data, so it may be actually gone in the
GAsyncReadyCallback. Ensure we only use it on success or on other errors than
cancelled.

Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=926946
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/tracker-miners/+bug/1822629
Bug-Upstream: https://gitlab.gnome.org/GNOME/tracker/issues/86