[PATCH v6] Improve DST handling (Bug 23102, Bug 21942, Bug 18018, Bug, 23259, CVE-2011-0536 ).

Carlos O'Donell carlos@redhat.com
Tue Jun 12 14:36:00 GMT 2018


On 06/12/2018 10:31 AM, Florian Weimer wrote:
> On 06/12/2018 03:08 PM, Carlos O'Donell wrote:
>> diff --git a/ChangeLog b/ChangeLog
>> index a3bc2bf31e..39493afcb6 100644
>> --- a/ChangeLog
>> +++ b/ChangeLog
>> @@ -1,3 +1,22 @@
>> +2018-06-06  Carlos O'Donell<carlos@redhat.com>
>> +        Andreas Schwab<schwab@suse.de>
>> +        Dmitry V. Levin<ldv@altlinux.org>
>> +        Florian Weimer<fweimer@redhat.com>
>> +
>> +    [BZ #23102]
>> +    [BZ #21942]
>> +    [BZ #18018]
>> +    [BZ #23259]
>> +    CVE-2011-0536
>> +    * elf/dl-dst.h: Remove DL_DST_COUNT.
>> +    * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
>> +    * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
>> +    (is_dst): Comment.  Support ELF gABI.
>> +    (_dl_dst_count): Comment.  Simplify and count DSTs.
>> +    (_dl_dst_substitute): Comment.  Support __libc_enable_secure handling.
>> +    (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
>> +    locals.
> 
> This version looks okay to me.

Excellent. Thank you all for your review. This crosses off a long standing
patch from the Fedora patch list. I'm sure Dmitry is happy to see the patch
off his list of things to review and send upstream.

I'm attaching the v6a of the tests with the additional test for ${unrecognized$LIB}.

I'll commit this once my clean build is done.

Cheers,
Carlos.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: swbz23259-v6a.tar.gz
Type: application/gzip
Size: 5596 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20180612/33a7f7f2/attachment.gz>


More information about the Libc-alpha mailing list