[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Grafting limitation
From: |
Ludovic Courtès |
Subject: |
Grafting limitation |
Date: |
Tue, 17 Nov 2015 10:05:14 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
address@hidden (Ludovic Courtès) skribis:
> Leo Famulari <address@hidden> skribis:
>
>> These buffer overflows in libpng were announced today:
>> https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2015-8126
>>
>> This patch updates libpng to 1.5.24, which is claimed to be free of the bugs.
>
> In commit 1b076e6 on ‘master’, I made 1.5.24 a replacement for the
> current libpng (info "(guix) Security Updates")
As Mark rightfully reminded me, the grafting mechanism has a
shortcoming: it is not recursive.
IOW, if a package has a direct dependency on libpng, it is appropriately
grafted to refer to the new libpng. However, if a package depends on
libfoo, which in turn depends on libpng, then that package will keep
referring to the old libfoo, which refers to the vulnerable libpng.
I’ll see how ‘graft-derivation’ in (guix derivations) can be made
recursive.
Ludo’.