]> dgit.raspbian.org Git - ostree.git/log
ostree.git
9 years agosysroot: Fix leak/double free of keyfile origin
Colin Walters [Tue, 29 Nov 2016 03:00:01 +0000 (22:00 -0500)]
sysroot: Fix leak/double free of keyfile origin

Use autoptr rather than manual cleanup.  The double free isn't a
security problem, since we trust origin files.

Closes: #598
Approved by: jlebon

Gbp-Pq: Name ASAN-sysroot-Fix-leak-double-free-of-keyfile-origin.patch

9 years agotraverse: Use g_hash_table_add
Colin Walters [Tue, 29 Nov 2016 02:14:47 +0000 (21:14 -0500)]
traverse: Use g_hash_table_add

And "move semantics" via `g_steal_pointer()`.  Just a minor code
cleanup I noticed when I was hunting for a leak, which ended up being
elsewhere.

Closes: #598
Approved by: jlebon

Gbp-Pq: Name traverse-Use-g_hash_table_add.patch

9 years agocmdline: Fix minor leak in delta cmdline entrypoint
Colin Walters [Tue, 29 Nov 2016 02:12:53 +0000 (21:12 -0500)]
cmdline: Fix minor leak in delta cmdline entrypoint

Small, but it's important to stay clean.

Closes: #598
Approved by: jlebon

Gbp-Pq: Name ASAN-cmdline-Fix-minor-leak-in-delta-cmdline-entrypoint.patch

9 years agodeltas: Fix minor memory leak
Colin Walters [Tue, 29 Nov 2016 02:12:23 +0000 (21:12 -0500)]
deltas: Fix minor memory leak

We were leaking the checksum, ensure we free it in both normal and
error paths.

Closes: #598
Approved by: jlebon

Gbp-Pq: Name ASAN-deltas-Fix-minor-memory-leak.patch

9 years agodelta compilation: More leak fixes
Colin Walters [Tue, 29 Nov 2016 02:11:37 +0000 (21:11 -0500)]
delta compilation: More leak fixes

Now that I remembered to do `env G_SLICE=always-malloc`, lots more
leaks become apparent.  Nothing major.

Closes: #598
Approved by: jlebon

Gbp-Pq: Name ASAN-delta-compilation-More-leak-fixes.patch

9 years agodelta compilation: Fix leak
Alexander Larsson [Mon, 28 Nov 2016 16:21:59 +0000 (17:21 +0100)]
delta compilation: Fix leak

We need to ref-sik the new varian for g_autoptr to work

Closes: #597
Approved by: cgwalters
Origin: upstream, 2016.15, commit:d57036f

Gbp-Pq: Name delta-compilation-Fix-leak.patch

9 years agopull: Don't leak delta superblock variants
Alexander Larsson [Mon, 28 Nov 2016 14:57:11 +0000 (15:57 +0100)]
pull: Don't leak delta superblock variants

Closes: #596
Approved by: cgwalters
Origin: upstream, 2016.15, commit:36f7824

Gbp-Pq: Name pull-Don-t-leak-delta-superblock-variants.patch

9 years agopull_with_options: Don't leak csum_v
Alexander Larsson [Mon, 28 Nov 2016 14:56:50 +0000 (15:56 +0100)]
pull_with_options: Don't leak csum_v

Closes: #596
Approved by: cgwalters
Origin: upstream, 2016.15, commit:239cb14

Gbp-Pq: Name pull_with_options-Don-t-leak-csum_v.patch

9 years agoostree-repo-traverse: Don't leak floating GVariant
Alexander Larsson [Mon, 28 Nov 2016 14:31:04 +0000 (15:31 +0100)]
ostree-repo-traverse: Don't leak floating GVariant

ostree_object_name_serialize returns a floating ref, so we need
to sink it before putting in the hashtable.

Closes: #595
Approved by: cgwalters
Origin: upstream, 2016.15, commit:fc107e5

Gbp-Pq: Name ostree-repo-traverse-Don-t-leak-floating-GVariant.patch

9 years agopull: scan_commit_object() - don't load variant twice
Alexander Larsson [Mon, 28 Nov 2016 12:58:19 +0000 (13:58 +0100)]
pull: scan_commit_object() - don't load variant twice

ostree_repo_load_commit already loaded the object, no need
to load it twice.

Closes: #595
Approved by: cgwalters
Origin: upstream, 2016.15, commit:c9b158e

Gbp-Pq: Name pull-scan_commit_object-don-t-load-variant-twice.patch

9 years agoostree-repo-traverse: Remove an accidental print statement
Jasper St. Pierre [Wed, 23 Nov 2016 21:52:39 +0000 (13:52 -0800)]
ostree-repo-traverse: Remove an accidental print statement

Closes: #594
Approved by: jlebon
Origin: upstream, 2016.15, commit:70d140d

Gbp-Pq: Name ostree-repo-traverse-Remove-an-accidental-print-statement.patch

9 years agoostree (2016.14-2) unstable; urgency=medium
Simon McVittie [Thu, 1 Dec 2016 12:38:54 +0000 (12:38 +0000)]
ostree (2016.14-2) unstable; urgency=medium

  * Make build-time test failures non-fatal, as long as at least
    3 out of 5 attempts succeed.

    There are several upstream bugs that cause intermittent test
    failures, and can intermittently be reproduced in real use.
    However, these are not regressions, so we should not FTBFS just
    because we happen to have been unlucky during build.

  * d/p/Terminate-individual-tests-after-10-minutes.patch:
    replace d/p/debian/Terminate-individual-tests-after-half-an-hour.patch
    with the version that I sent upstream, which uses SIGABRT and
    terminates the tests sooner
  * d/p/*.patch: import more memory leak fixes from upstream

[dgit import unpatched ostree 2016.14-2]

9 years agoImport ostree_2016.14-2.debian.tar.xz
Simon McVittie [Thu, 1 Dec 2016 12:38:54 +0000 (12:38 +0000)]
Import ostree_2016.14-2.debian.tar.xz

[dgit import tarball ostree 2016.14-2 ostree_2016.14-2.debian.tar.xz]

9 years agoImport ostree_2016.14.orig.tar.xz
Simon McVittie [Tue, 29 Nov 2016 11:05:44 +0000 (11:05 +0000)]
Import ostree_2016.14.orig.tar.xz

[dgit import orig ostree_2016.14.orig.tar.xz]